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

Stop resting/running when dead

git-svn-id: http://svn.net-core.org/repos/t-engine4@2280 51575b47-30f0-44d4-a5cc-537603b46e54
parent c78dfbc1
No related branches found
No related tags found
No related merge requests found
......@@ -401,6 +401,9 @@ function _M:heal(value, src)
end
function _M:die(src)
self:runStop("died")
self:restStop("died")
local game_ender = self.game_ender
-- Look for an other possible player in the party, otherwise we are done !
if not game_ender then game_ender = not game.party:findSuitablePlayer() end
......
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