aboutsummaryrefslogtreecommitdiff
path: root/scripts/control.gd
diff options
context:
space:
mode:
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()