From ff51a1e6f7bfa7e005a6894cd22e7bce4971b963 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Tue, 1 Feb 2022 14:36:39 +0100 Subject: turret detail GUI compare upgrades and modules --- scripts/control.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/control.gd') 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() -- cgit v1.2.3-54-g00ecf