Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

Commit

Permalink
Don't activate setting menu on building click when disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
magico13 committed May 21, 2016
1 parent 123d79a commit c22c4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kerbal_Construction_Time/KCT_GUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public static void onClick()

if (PrimarilyDisabled && (HighLogic.LoadedScene == GameScenes.SPACECENTER))
{
if (!showSettings)
if (clicked)
ShowSettings();
else
showSettings = false;
Expand Down

0 comments on commit c22c4c2

Please sign in to comment.