Fixed player being able to be stuck in running position when opening the pause/ready menu

This commit is contained in:
Maruno17
2022-06-19 22:44:29 +01:00
parent 040247536f
commit 2486fa9fe2

View File

@@ -420,6 +420,7 @@ class Game_Player < Game_Character
last_real_x = @real_x last_real_x = @real_x
last_real_y = @real_y last_real_y = @real_y
super super
update_stop if $game_temp.in_menu && @stopped_last_frame
update_screen_position(last_real_x, last_real_y) update_screen_position(last_real_x, last_real_y)
# Update dependent events # Update dependent events
if (!@moved_last_frame || @stopped_last_frame || if (!@moved_last_frame || @stopped_last_frame ||