Added tesla shot sound

This commit is contained in:
2026-01-05 19:12:50 +03:00
parent 4a4cf3f299
commit 5060bd8f0b
6 changed files with 48 additions and 2 deletions
+4 -1
View File
@@ -160,7 +160,10 @@ func _on_passage_completion() -> void:
_current_passage_scene.queue_free()
var projectiles := get_tree().get_nodes_in_group("projectiles")
for projectile in projectiles:
projectile.queue_free()
if projectile is AbstractProjectile:
projectile.delete()
else:
projectile.queue_free()
current_sector = current_passage.next_sector
if current_sector.next_passages.size() == 0: