Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/ContractConfigurator/MissionControlUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,9 @@ public void OnClickAvailable(bool selected)

public void OnClickAll(bool selected)
{
// Update the contract counts even if not selected (KSP overrides it otherwise)
UpdateContractCounts();

if (!selected)
{
return;
Expand Down Expand Up @@ -832,9 +835,6 @@ public void OnClickAll(bool selected)

HighLogic.CurrentGame.Parameters.CustomParams<ContractConfiguratorParameters>().lastMCButton =
ContractConfiguratorParameters.MissionControlButton.All;

// Update the contract counts
UpdateContractCounts();
}

public void OnClickActive(bool selected)
Expand Down