Skip to content
Snippets Groups Projects
Commit 17e67bfd authored by DarkGod's avatar DarkGod
Browse files

2H penalty debuff does not go away when dying

parent 2bd0d8bd
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -2985,6 +2985,9 @@ function _M:die(src, death_note)
chat:invoke()
self.self_resurrect_chat = nil
end
self:checkTwoHandedPenalty()
self.in_resurrect = nil
return
end
......
......@@ -158,6 +158,8 @@ function _M:resurrectBasic(actor)
actor.changed = true
game.paused = true
self.actor:checkTwoHandedPenalty()
end
--- Send the party to the Eidolon Plane
......@@ -186,6 +188,8 @@ function _M:eidolonPlane()
game.log("#LIGHT_RED#From the brink of death you seem to be yanked to another plane.")
game.player:updateMainShader()
if not config.settings.cheat then game:saveGame() end
self.actor:checkTwoHandedPenalty()
end)
return true
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