mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-21 23:18:11 +00:00
fix pipe not resetting animation speed
This commit is contained in:
@@ -16,6 +16,7 @@ func physics_update(delta: float) -> void:
|
||||
player.direction = int(player.pipe_enter_direction.x)
|
||||
player.sprite.scale.x = player.direction
|
||||
else:
|
||||
player.sprite.speed_scale = 1
|
||||
player.play_animation("Pipe")
|
||||
|
||||
func exit() -> void:
|
||||
|
Reference in New Issue
Block a user