aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd')
-rw-r--r--game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd b/game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd
index b024ca4..d3241e1 100644
--- a/game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd
+++ b/game/src/Game/GameSession/NationManagementScreen/TechnologyMenu.gd
@@ -24,11 +24,14 @@ func _ready() -> void:
#setup the window since the gui file doesnt store positions, can probably be optimised
for folder_item in folder_windows:
country_technology.add_child(folder_item)
+ folder_windows = null
for tech_group_item in tech_groups:
country_technology.add_child(tech_group_item)
+ tech_groups = null
for research_item_column in tech_windows:
for research_item_row in research_item_column:
country_technology.add_child(research_item_row)
+ tech_windows = null
var close_button : Button = get_button_from_nodepath(^"./country_technology/close_button")