bugfix enemy spawner

This commit is contained in:
Michael Campbell 2026-03-04 02:27:43 -05:00
parent 5b659d7b9c
commit 2fd199612b
3 changed files with 7 additions and 6 deletions

View file

@ -24,7 +24,6 @@ func _process(delta: float) -> void:
func hit(_proj: PlayerProjectile, damage: float) -> bool:
health -= damage
if health <= 0.:
print("boom!")
SignalBus.building_destroyed.emit(self)
collision_layer = 1 # World collision only