diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-17 13:50:22 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-17 13:50:22 +0100 |
commit | f73ef06b502aa36dca73a173bbee089ae91729ab (patch) | |
tree | adf5409a717962c99a8f77aa816a2e5e6956fc2f /scripts/gui_turret_detail.gd | |
parent | 53342a1bdae615aead21163ed0636b68be5ea55f (diff) |
thumbnails
Diffstat (limited to 'scripts/gui_turret_detail.gd')
-rw-r--r-- | scripts/gui_turret_detail.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gui_turret_detail.gd b/scripts/gui_turret_detail.gd index f895a6e..74e382e 100644 --- a/scripts/gui_turret_detail.gd +++ b/scripts/gui_turret_detail.gd @@ -5,6 +5,7 @@ var hbox_global var _turret_holder : Node var _turret_values : Resource = load("res://scenes/gui/gui_turret_values.tscn") var load_turrets : Node +var resources : Node var gui : Control @@ -18,6 +19,8 @@ func _fetch (): hbox_labels = $"hbox_global/hbox_labels" hbox_global = $"hbox_global" + resources = root.get_node("player").get_node("resources") + load_turrets = root.get_node("saveload").get_node("load_turrets") if !load_turrets.loaded: yield(load_turrets, "done_loading") |