diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-02-01 14:36:39 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-02-01 14:36:39 +0100 |
commit | ff51a1e6f7bfa7e005a6894cd22e7bce4971b963 (patch) | |
tree | 3eeca80f55c6579faf05c371d1ee8734adf81b92 /scripts/control.gd | |
parent | ef2fa8b2b8b545f52a21052713b15c3b406a3055 (diff) |
turret detail GUI compare upgrades and modules
Diffstat (limited to 'scripts/control.gd')
-rw-r--r-- | scripts/control.gd | 4 |
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() |