Skip to content

Commit

Permalink
Merge pull request #155 from AlexanderDzhoganov/master
Browse files Browse the repository at this point in the history
Fix multi-instance bug
  • Loading branch information
pjf committed Oct 24, 2014
2 parents 8628ed8 + e2090e7 commit 9305c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CKAN/GUI/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Main()

// We want to check our current instance is null first, as it may
// have already been set by a command-line option.
if (KSPManager.CurrentInstance == null && KSPManager.GetPreferredInstance() != null)
if (KSPManager.CurrentInstance == null && KSPManager.GetPreferredInstance() == null)
{
Hide();

Expand Down

0 comments on commit 9305c86

Please sign in to comment.