Skip to content

Commit

Permalink
Merge pull request #403 from CWolfs/develop
Browse files Browse the repository at this point in the history
v1.1.1
  • Loading branch information
CWolfs authored Jul 27, 2020
2 parents 3f84e55 + 8030d3b commit 0571ce4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Mission Control",
"Enabled": true,
"Version": "1.1.0",
"Version": "1.1.1",
"Description": "A HBS BattleTech mod that adds custom contract types and varies the encounter specifics such as encounter boundary size, spawn locations, lance numbers and objectives",
"Author": "CWolf",
"Contact": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion src/Core/MissionControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public bool AreAdditionalPlayerMechsAllowed() {
bool areAdditionalPlayerMechsAllowed = Main.Settings.ActiveContractSettings.Has(ContractSettingsOverrides.AdditionalPlayerMechs_Enable) && Main.Settings.ActiveContractSettings.GetBool(ContractSettingsOverrides.AdditionalPlayerMechs_Enable);
if (areAdditionalPlayerMechsAllowed) return true;

areAdditionalPlayerMechsAllowed = IsAnyFlashpointContract() && Main.Settings.EnableAdditionalPlayerMechsForFlashpoints;
areAdditionalPlayerMechsAllowed = !IsAnyFlashpointContract() || (IsAnyFlashpointContract() && Main.Settings.EnableAdditionalPlayerMechsForFlashpoints);
if (areAdditionalPlayerMechsAllowed) areAdditionalPlayerMechsAllowed = Main.Settings.AdditionalPlayerMechs;

return areAdditionalPlayerMechsAllowed;
Expand Down
2 changes: 1 addition & 1 deletion src/MissionControl.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
<OutputType>Library</OutputType>
<TargetFramework>net471</TargetFramework>
</PropertyGroup>
Expand Down

0 comments on commit 0571ce4

Please sign in to comment.