From 632a7472de40c5da419c8c0305a091e8687a4b87 Mon Sep 17 00:00:00 2001 From: VinPropane Date: Sun, 7 Jun 2026 13:08:02 -0400 Subject: [PATCH] NEO-122: Fix HudRootScroll node path type for get_node_or_null. --- client/scripts/prototype_economy_hud_section.gd | 2 +- client/test/prototype_economy_hud_section_test.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/scripts/prototype_economy_hud_section.gd b/client/scripts/prototype_economy_hud_section.gd index a601ab3..c0e6541 100644 --- a/client/scripts/prototype_economy_hud_section.gd +++ b/client/scripts/prototype_economy_hud_section.gd @@ -10,7 +10,7 @@ const SIDE_MARGIN := 8.0 const PANEL_WIDTH := 656.0 const HUD_TOP_MARGIN := 8.0 const HUD_ECONOMY_GAP := 12.0 -const HUD_ROOT_SCROLL_NAME := &"HudRootScroll" +const HUD_ROOT_SCROLL_NAME := "HudRootScroll" const PANEL_FILL := Color(0.06, 0.06, 0.1, 0.94) @onready var _toggle: CheckButton = $HeaderRow/ToggleButton diff --git a/client/test/prototype_economy_hud_section_test.gd b/client/test/prototype_economy_hud_section_test.gd index 47a6085..3783c7d 100644 --- a/client/test/prototype_economy_hud_section_test.gd +++ b/client/test/prototype_economy_hud_section_test.gd @@ -1,7 +1,7 @@ extends GdUnitTestSuite ## NEO-75: economy HUD collapse toggle shows/hides body scroll container. -## NEO-122: BodyScroll/Body paths match main.tscn. +## NEO-122: BodyScroll/Body paths match main.tscn; HudRootScroll clamp on layout. const EconomyHudSection := preload("res://scripts/prototype_economy_hud_section.gd")