fixed attack in state machine

This commit is contained in:
Derek
2025-04-21 22:58:54 -05:00
parent 18398e8d4e
commit 362b0a5708
8 changed files with 54 additions and 14 deletions

View File

@@ -8,6 +8,7 @@ func Enter():
func die():
drop_loot()
enemy.visible = false
#remove from parent array
var particlespawn = enemy.die_particles.instantiate()
particlespawn.position = enemy.global_position