Commit cb3ed18a9e78cba60e66f67dec9d878549995a23

Authored by dg
1 parent 5eb1cc39

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
... ... @@ -56,6 +56,8 @@ function _M:onPartyDeath(src)
56 56 game:registerDialog(dialog)
57 57 end
58 58 game.player:saveUUID()
59   - profile.chat:talk(("%s has died a painful death to %s."):format(self.name:capitalize(), src and src.name or "<unknown>"))
  59 + if not game.player.easy_mode_lifes or game.player.easy_mode_lifes <= 0 then
  60 + profile.chat:talk(("%s has died a painful death to %s."):format(self.name:capitalize(), src and src.name or "<unknown>"))
  61 + end
60 62 end
61 63 end
... ...