Skip to content

Commit

Permalink
Making History has been released with KSP 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Jun 12, 2019
1 parent a8f223d commit 3b98071
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Core/KSPManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public void FakeInstance(string new_name, string new_path, KspVersion version, s
{
// MakingHistory
if (String.IsNullOrEmpty(dlcVersions[0])) { }
else if (version.CompareTo(new KspVersion(1, 4, 0)) >= 0)
else if (version >= new KspVersion(1, 4, 1))
{
string dlcDir = Path.Combine(new_path, new DLC.MakingHistoryDlcDetector().InstallPath());
file_transaction.CreateDirectory(dlcDir);
Expand All @@ -262,11 +262,12 @@ public void FakeInstance(string new_name, string new_path, KspVersion version, s
}
else
{
throw new IncorrectKSPVersionKraken("KSP version 1.4.0 or above is needed for Making History DLC.");
throw new IncorrectKSPVersionKraken("KSP version 1.4.1 or above is needed for Making History DLC.");
}

//BreakingGround
if (dlcVersions.Length < 1 || String.IsNullOrEmpty(dlcVersions[1])) { }
else if (version.CompareTo(new KspVersion(1, 7, 1)) >= 0)
else if (version >= new KspVersion(1, 7, 1))
{
string dlcDir = Path.Combine(new_path, new DLC.BreakingGroundDlcDetector().InstallPath());
file_transaction.CreateDirectory(dlcDir);
Expand Down

0 comments on commit 3b98071

Please sign in to comment.