Skip to content

Commit

Permalink
Workaround issue with upgrading KCT extra launchpads closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
severedsolo committed Jan 22, 2020
1 parent 4b5478e commit 515481c
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 36 deletions.
106 changes: 70 additions & 36 deletions .idea/.idea.Bureaucracy/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Bureaucracy/Facilities/FacilityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ public void StartUpgrade(UpgradeableFacility facility)
return;
}

if (facilityToUpgrade.Upgrading && facilityToUpgrade.Upgrade.UpgradeHeld)
{
facilityToUpgrade.Upgrade.OnEventCompleted();
return;
}
if (facilityToUpgrade.Upgrading)
{
if (facilityToUpgrade.IsPriority)
Expand Down
Loading

0 comments on commit 515481c

Please sign in to comment.