Fixed triggering a battle upon turning causing the player to take a step after it

This commit is contained in:
Maruno17
2020-10-28 21:04:37 +00:00
parent a28eadb9af
commit a28aa5b4ad
3 changed files with 3 additions and 1 deletions

View File

@@ -563,6 +563,7 @@ def pbAfterBattle(decision,canLose)
end
end
Events.onEndBattle.trigger(nil,decision,canLose)
$game_player.straighten
end
Events.onEndBattle += proc { |_sender,e|