a game about throwing hammers made for the github game off
Diffstat (limited to 'player/player.gd')
| -rw-r--r-- | player/player.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/player.gd b/player/player.gd index 4aa382a..de4ce55 100644 --- a/player/player.gd +++ b/player/player.gd @@ -77,7 +77,7 @@ var health := max_health: set(hp): health = hp hp_changed.emit(hp) - if hp == 0: + if hp <= 0: death.open() queue_free() |