Skip to content

Commit

Permalink
Fixed FSwitch issue with duplicating resource fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Palmer committed Aug 23, 2019
1 parent d6ec90e commit 32de3ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Firespitter/customization/FSfuelSwitch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32de3ca

Please sign in to comment.