summaryrefslogtreecommitdiffhomepage
path: root/not/PhysicalBody.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-04 13:11:33 +0200
committerAki <nthirtyone@gmail.com>2017-04-04 13:11:33 +0200
commit7a560cee7e7f0620656a63e91f05fbe898919246 (patch)
tree66ccc9dcc6fae7044cc96371bb52c770a7b55a24 /not/PhysicalBody.lua
parent94fe36185b24315abccc55477c92961adf4d409c (diff)
downloadroflnauts-7a560cee7e7f0620656a63e91f05fbe898919246.zip
roflnauts-7a560cee7e7f0620656a63e91f05fbe898919246.tar.gz
roflnauts-7a560cee7e7f0620656a63e91f05fbe898919246.tar.bz2
Kek, never commit late night. Fail statement back to not.Hero.update
Diffstat (limited to 'not/PhysicalBody.lua')
-rw-r--r--not/PhysicalBody.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/not/PhysicalBody.lua b/not/PhysicalBody.lua
index a9ac63b..e9625fa 100644
--- a/not/PhysicalBody.lua
+++ b/not/PhysicalBody.lua
@@ -69,7 +69,6 @@ end
-- Update of `PhysicalBody`.
function PhysicalBody:update (dt)
Sprite.update(self, dt)
- if self.body:isDestroyed() then return end
end
-- Draw of `PhysicalBody`.