diff --git a/project/physics/sprites/PlayerSprite.py b/project/physics/sprites/PlayerSprite.py index ff293d8..de72bb1 100644 --- a/project/physics/sprites/PlayerSprite.py +++ b/project/physics/sprites/PlayerSprite.py @@ -55,6 +55,7 @@ class PlayerSprite(DynamicSprite): if self.is_potentially_stuck == 2: print('stuck') self.position_scale.position = (self.position_scale.position[0] - 5, self.position_scale.position[1]) + self.is_potentially_stuck = 0 if tick_data.key_manager.is_keymap_down(KeyManager.KEY_RIGHT): self.last_directional_input = KeyManager.KEY_RIGHT