diff --git a/game/modules/tome/dialogs/DeathDialog.lua b/game/modules/tome/dialogs/DeathDialog.lua index 0775a9737a83ff17c34ce9b89eb494abecddb7e5..4db1585e2d6b153d6a4b475faa6375e7bb2076b0 100644 --- a/game/modules/tome/dialogs/DeathDialog.lua +++ b/game/modules/tome/dialogs/DeathDialog.lua @@ -80,9 +80,10 @@ end --- Restore resources function _M:restoreResources(actor) - actor:resetToFull() - - actor.energy.value = game.energy_to_act + if actor.resetToFull then + actor:resetToFull() + actor.energy.value = game.energy_to_act + end end --- Basic resurrection