Some fixes

This commit is contained in:
Rendo 2025-11-26 16:37:03 +05:00
commit 97d6a783aa
8 changed files with 22 additions and 8 deletions

View file

@ -14,4 +14,4 @@ func on_animation_finished(animation):
transition.emit("Idle")
func with_morphems(animation):
return machine.animation_prefix + (animation+"_empty") if emptyable and machine.ammo == 0 else animation
return machine.animation_prefix + ((animation+"_empty") if emptyable and machine.ammo == 0 else animation)