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.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/hud/health_meter.gd b/ui/hud/health_meter.gd
index d625559..248009a 100644
--- a/ui/hud/health_meter.gd
+++ b/ui/hud/health_meter.gd
@@ -6,6 +6,7 @@ extends Control
func _ready():
Globals.player.hp_changed.connect(_hp_changed)
var max_hp := Globals.player.max_health
+ await get_tree().process_frame
full.size.x = max_hp * 5 + 1
empty.size.x = max_hp * 5 + 1