a game about throwing hammers made for the github game off
Diffstat (limited to 'ui/hud/health_meter.gd')
| -rw-r--r-- | ui/hud/health_meter.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/hud/health_meter.gd b/ui/hud/health_meter.gd index 115287a..b77d7c5 100644 --- a/ui/hud/health_meter.gd +++ b/ui/hud/health_meter.gd @@ -13,4 +13,6 @@ func _ready(): func _hp_changed(hp: int): + if hp == 0: + full.hide() full.size.x = hp * 5 + 1 |