diff options
author | Aki <nthirtyone@gmail.com> | 2016-06-14 12:14:41 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-06-14 12:14:41 +0200 |
commit | 498e754f7725cbf8e19d60a03b1d7b30fdae823e (patch) | |
tree | a6ad7612c84f883914f59ada70116b74cc90c14b /player.lua | |
parent | 4e9e6722b2924df271233d7db48aec2d8ba1fd0d (diff) | |
download | roflnauts-498e754f7725cbf8e19d60a03b1d7b30fdae823e.zip roflnauts-498e754f7725cbf8e19d60a03b1d7b30fdae823e.tar.gz roflnauts-498e754f7725cbf8e19d60a03b1d7b30fdae823e.tar.bz2 |
onNautKill and game restart
Diffstat (limited to 'player.lua')
-rw-r--r-- | player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,8 +362,8 @@ function Player:die () self.lives = self.lives - 1 self.alive = false self.spawntimer = 1 - self.world.camera:startShake() self.body:setActive(false) + self.world:onNautKilled(self) end -- And then respawn. Like Jon Snow. |