summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-01-14 21:46:40 +0100
committerAki <nthirtyone@gmail.com>2017-01-14 21:46:40 +0100
commitc0d3e5782bb5010730f22819c6e4a6ade9e64834 (patch)
tree8d005b119f43d26fd6df8acd907e457a0112b008
parent0fe43d48f152659e638b88406d9e5e8a872f1195 (diff)
downloadroflnauts-c0d3e5782bb5010730f22819c6e4a6ade9e64834.zip
roflnauts-c0d3e5782bb5010730f22819c6e4a6ade9e64834.tar.gz
roflnauts-c0d3e5782bb5010730f22819c6e4a6ade9e64834.tar.bz2
Initial flags
-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