diff --git a/source/AdjustableModPanel.cs b/source/AdjustableModPanel.cs index cd04f72..71bcd7b 100644 --- a/source/AdjustableModPanel.cs +++ b/source/AdjustableModPanel.cs @@ -1,4 +1,4 @@ -#region License +#region License /* BSD 2-Clause License @@ -601,7 +601,7 @@ public void OnGUIApplicationLauncherReady () ApplicationLauncher.Instance.prefab_horizontalRightLeft.GetGameObject ().AddOrGetComponent (); if (ApplicationLauncher.Ready && appButton == null) { appButton = ApplicationLauncher.Instance.AddModApplication (OpenMainWindow, CloseMainWindow, null, null, - AppButtonEnable, AppButtonDisable, ApplicationLauncher.AppScenes.ALWAYS & (~ApplicationLauncher.AppScenes.MAINMENU), appButtonTexture); + null, AppButtonDisable, ApplicationLauncher.AppScenes.ALWAYS & (~ApplicationLauncher.AppScenes.MAINMENU), appButtonTexture); // this mod should be always on in KSC appButton.container.Data = ApplicationLauncher.AppScenes.SPACECENTER; } @@ -615,10 +615,6 @@ private void OnGUIApplicationLauncherUnreadifying (GameScenes scene) public void AppButtonDisable () { appButton?.SetFalse (); } - /// Enable App Button - public void AppButtonEnable () - { appButton?.SetTrue(); } // not needed, really - internal ApplicationLauncher.AppScenes GetModScenes (string module, string method, ApplicationLauncher.AppScenes currentScenes, uint hash) { foreach (var mod in descriptors) @@ -909,4 +905,4 @@ private void LoadConfig () } #endregion } -} \ No newline at end of file +}