aboutsummaryrefslogtreecommitdiff
path: root/scripts/control.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-02-01 14:36:39 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-02-01 14:36:39 +0100
commitff51a1e6f7bfa7e005a6894cd22e7bce4971b963 (patch)
tree3eeca80f55c6579faf05c371d1ee8734adf81b92 /scripts/control.gd
parentef2fa8b2b8b545f52a21052713b15c3b406a3055 (diff)
turret detail GUI compare upgrades and modules
Diffstat (limited to 'scripts/control.gd')
-rw-r--r--scripts/control.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/control.gd b/scripts/control.gd
index 2fd7164..ff2d8da 100644
--- a/scripts/control.gd
+++ b/scripts/control.gd
@@ -245,8 +245,8 @@ func do (action, par = {}):
_:
statetype = Globals.StateType.MODULES
var turr = turret_holder.get_node(editing_turret)
- turr.mods += [par.name]
- turr.make_info_mod()
+ turr.modules += [par.name]
+ turr.refresh_info(turr.info)
build_option(state, statetype)
_: to_pick()