Browse Source

Fix crash on game exit when IDE is active

tags/v0.2
NGnius 4 years ago
parent
commit
2c60413622
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      GamecraftScripting/Commands/DebugCommandEngine.cs

+ 1
- 4
GamecraftScripting/Commands/DebugCommandEngine.cs View File

@@ -28,10 +28,7 @@ namespace GamecraftScripting.Commands
CommandRegistrationHelper.Unregister("PythonVersion");
CommandRegistrationHelper.Unregister("PythonSearchPathes");
CommandRegistrationHelper.Unregister("ToggleIDE");
if (isEnabledIDE)
{
toggleIDE();
}
isEnabledIDE = false;
}

public void Ready()