sfx update

This commit is contained in:
ultrablob 2024-04-20 09:45:17 -04:00
parent bf16dfe508
commit cd361e3338
16 changed files with 682 additions and 105 deletions

View file

@ -6,6 +6,9 @@ var max_health = 10.0
func destroy():
health -= 1
if health == 1:
$PowerDownFX.play()
if health <= 0:
if not is_queued_for_deletion():
$"..".queue_free()