mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
fixed an animation override bug cause im dumb and havent touched the json parser in a while
This commit is contained in:
@@ -354,7 +354,6 @@ func camera_make_current() -> void:
|
||||
func play_animation(animation_name := "") -> void:
|
||||
if sprite.sprite_frames == null: return
|
||||
animation_name = get_fallback_animation(animation_name)
|
||||
print(animation_name)
|
||||
if sprite.animation != animation_name:
|
||||
sprite.play(animation_name)
|
||||
|
||||
|
Reference in New Issue
Block a user