diff --git a/overcooked_simulator/overcooked_environment.py b/overcooked_simulator/overcooked_environment.py
index b9a95efd737b4b74a76e2e96e50469c1f42f4e99..cafda9380825cbb15891c2cb6903fef9d654a638 100644
--- a/overcooked_simulator/overcooked_environment.py
+++ b/overcooked_simulator/overcooked_environment.py
@@ -232,7 +232,7 @@ class Environment:
                 collided_player.move(pushing_vector * (collided_player.move_dist / 2))
                 if self.detect_collision_counters(
                     collided_player
-                ) or self.detect_collision_world_bounds(player):
+                ) or self.detect_collision_world_bounds(collided_player):
                     collided_player.move_abs(old_pos_other)
             player.move_abs(old_pos)