summaryrefslogtreecommitdiffhomepage
path: root/player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player.lua')
-rw-r--r--player.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.lua b/player.lua
index 5c7572f..d2bc6d1 100644
--- a/player.lua
+++ b/player.lua
@@ -434,10 +434,10 @@ end
-- DIE
function Player:die()
self:playSound(1)
- self.combo = Player.combo
+ self.combo = Player.combo -- INITIAL from metatable
self.lives = self.lives - 1
self.alive = false
- self.spawntimer = Player.spawntimer
+ self.spawntimer = Player.spawntimer -- INITIAL from metatable
self.body:setActive(false)
self.world:onNautKilled(self)
end