fixed shield UI not clearing on game restart

This commit is contained in:
2026-02-10 18:44:12 +11:00
parent d8101979b9
commit 1f91e0aef7
5 changed files with 30 additions and 2 deletions

View File

@@ -159,6 +159,8 @@ func spawn_players() -> void:
base_took_damage.connect(player.hud.set_lives_count)
root_scene.add_child(player)
p_i += 1
print("objective health: " + str(objective_health))
print("player ui health: " + str(player.hud.shield_ui.health))
func ready_player(player_ready_true: bool) -> void: