summaryrefslogtreecommitdiffhomepage
path: root/player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player.lua')
-rw-r--r--player.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.lua b/player.lua
index f7595a1..f6ecf88 100644
--- a/player.lua
+++ b/player.lua
@@ -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.