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 9, 2019
1 parent df0b37b commit a51663a
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 @@ -248,7 +248,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 @@ -258,11 +258,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 a51663a

Please sign in to comment.