Skip to content
Snippets Groups Projects
Commit e5722a13 authored by dg's avatar dg
Browse files

try to stop passage of time after death

git-svn-id: http://svn.net-core.org/repos/t-engine4@584 51575b47-30f0-44d4-a5cc-537603b46e54
parent 06f24742
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,7 @@ function _M:die(src)
if self.game_ender then
engine.interface.ActorLife.die(self, src)
game.paused = true
self.energy.value = game.energy_to_act
game:registerDialog(DeathDialog.new(self))
else
mod.class.Actor.die(self, src)
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment