From c22c4c29d8b2579cf87fe756b61a80812c607d10 Mon Sep 17 00:00:00 2001 From: magico13 Date: Sat, 21 May 2016 10:32:18 -0500 Subject: [PATCH] Don't activate setting menu on building click when disabled. --- Kerbal_Construction_Time/KCT_GUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kerbal_Construction_Time/KCT_GUI.cs b/Kerbal_Construction_Time/KCT_GUI.cs index a15f2b7..e589565 100644 --- a/Kerbal_Construction_Time/KCT_GUI.cs +++ b/Kerbal_Construction_Time/KCT_GUI.cs @@ -226,7 +226,7 @@ public static void onClick() if (PrimarilyDisabled && (HighLogic.LoadedScene == GameScenes.SPACECENTER)) { - if (!showSettings) + if (clicked) ShowSettings(); else showSettings = false;