diff --git a/GamecraftScripting/Commands/DebugCommandEngine.cs b/GamecraftScripting/Commands/DebugCommandEngine.cs index d67738e..7ab2461 100644 --- a/GamecraftScripting/Commands/DebugCommandEngine.cs +++ b/GamecraftScripting/Commands/DebugCommandEngine.cs @@ -28,10 +28,7 @@ namespace GamecraftScripting.Commands CommandRegistrationHelper.Unregister("PythonVersion"); CommandRegistrationHelper.Unregister("PythonSearchPathes"); CommandRegistrationHelper.Unregister("ToggleIDE"); - if (isEnabledIDE) - { - toggleIDE(); - } + isEnabledIDE = false; } public void Ready()