a game about throwing hammers made for the github game off
Diffstat (limited to 'enemys/Enemy.gd')
| -rw-r--r-- | enemys/Enemy.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enemys/Enemy.gd b/enemys/Enemy.gd index 55ce199..6457c8f 100644 --- a/enemys/Enemy.gd +++ b/enemys/Enemy.gd @@ -12,8 +12,8 @@ signal died set(value): health = clamp(value, 0, max_health) if health == 0: - died.emit() # voodoo magic makes this signal connect to die() - # die() + died.emit() # ~~voodoo magic makes this signal connect to die()~~ + die() # the voodoo magic broke ;-; func hit(damage: int) -> void: health -= damage |