diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-02 01:42:36 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-02 01:42:36 -0400 |
commit | b52920a35eb69d1a258c737e3114fbe5cfe9aca5 (patch) | |
tree | b3a7363b6f4bae8cda513a54ef84069103e6388b /Scripts | |
parent | ea35ad60506407040f7b9fae65c5bdc18f9576bb (diff) |
Changed Lua Idle function names
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua index 26b2aa7..4a874b2 100644 --- a/Scripts/init.lua +++ b/Scripts/init.lua @@ -26,7 +26,7 @@ bird = { --end --self.visibleTick = self.visibleTick + 1 end, - Update = function(self) + PhysicsIdle = function(self) if self.Velocity.x < 0 then self.Render.flipx = true elseif self.Velocity.x > 0 then @@ -56,7 +56,7 @@ cat = { self.Velocity.y = 100 * math.cos(math.rad(self.counter)); self.counter = self.counter + 5; end, - Update = function(self) + PhysicsIdle = function(self) if self.Velocity.x < 0 then self.Render.flipx = true elseif self.Velocity.x > 0 then |