summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--not/Hero.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 729826d..1c15588 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -287,6 +287,8 @@ end
-- And then respawn. Like Jon Snow.
function Hero:respawn ()
self.isAlive = true
+ self.salto = false
+ self.smoke = false
self:setLinearVelocity(0,0)
self:setPosition(self.world:getSpawnPosition()) -- TODO: I'm not convinced about getting new position like this.
self:setBodyActive(true)