Fixed follower teleporting behind the player when they bump into something to the side

This commit is contained in:
Maruno17
2023-07-31 20:58:57 +01:00
parent 3d4a495849
commit bd70166dbb

View File

@@ -419,7 +419,7 @@ class Game_Player < Game_Character
update_stop if $game_temp.in_menu && @stopped_last_frame
update_screen_position(last_real_x, last_real_y)
# Update dependent events
if (!@moved_last_frame || @stopped_last_frame) && (moving? || jumping?)
if (!@moved_last_frame || @stopped_last_frame) && (moving? || jumping?) && !@bumping
$game_temp.followers.move_followers
end
$game_temp.followers.update