From 32de3cac79ba59b01d176ce0491cd74666107711 Mon Sep 17 00:00:00 2001 From: Bob Palmer Date: Fri, 23 Aug 2019 09:15:48 -0400 Subject: [PATCH] Fixed FSwitch issue with duplicating resource fields --- Firespitter/customization/FSfuelSwitch.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firespitter/customization/FSfuelSwitch.cs b/Firespitter/customization/FSfuelSwitch.cs index 3c9d8979..70f5eb7b 100644 --- a/Firespitter/customization/FSfuelSwitch.cs +++ b/Firespitter/customization/FSfuelSwitch.cs @@ -168,10 +168,11 @@ private void assignResourcesToPart(bool calledByPlayer) if (tweakableUI == null) { - tweakableUI = Tools.FindActionWindow(part); + tweakableUI = UIPartActionController.Instance.GetItem(part); } if (tweakableUI != null) { + tweakableUI.CreatePartList(true); tweakableUI.displayDirty = true; } else