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

Adventure mode deaths will only be reported once the last life is expanded

git-svn-id: http://svn.net-core.org/repos/t-engine4@3343 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5eb1cc39
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ function _M:onPartyDeath(src)
game:registerDialog(dialog)
end
game.player:saveUUID()
profile.chat:talk(("%s has died a painful death to %s."):format(self.name:capitalize(), src and src.name or "<unknown>"))
if not game.player.easy_mode_lifes or game.player.easy_mode_lifes <= 0 then
profile.chat:talk(("%s has died a painful death to %s."):format(self.name:capitalize(), src and src.name or "<unknown>"))
end
end
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