summaryrefslogtreecommitdiffhomepage
path: root/not/Hero.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Hero.lua')
-rw-r--r--not/Hero.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 47c6e33..1b84b1c 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -85,8 +85,6 @@ end
-- Update callback of `Hero`
-- TODO: Explode this function (method, kek), move controler-related parts to `not.Player`, physics parts to `not.PhysicalBody`.
function Hero:update (dt)
- -- hotfix? for destroyed bodies
- if self.body:isDestroyed() then return end
PhysicalBody.update(self, dt)
-- locals
local x, y = self.body:getLinearVelocity()