Fix choice crash when Action+Cancel pressed simultaneously

This commit is contained in:
Vinyl Darkscratch 2018-10-07 14:27:07 -07:00
parent a7e40364e8
commit 6554a6e43f

View file

@ -401,10 +401,7 @@ class Window_Message < Window_Selectable
$game_system.se_play($data_system.cancel_se)
$game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)
terminate_message
end
# Confirm
if Input.trigger?(Input::ACTION)
elsif Input.trigger?(Input::ACTION)
$game_system.se_play($data_system.decision_se)
$game_temp.choice_proc.call(self.index)
terminate_message