Fix crash on game exit when IDE is active
This commit is contained in:
parent
e680b95e4c
commit
2c60413622
1 changed files with 1 additions and 4 deletions
|
@ -28,10 +28,7 @@ namespace GamecraftScripting.Commands
|
||||||
CommandRegistrationHelper.Unregister("PythonVersion");
|
CommandRegistrationHelper.Unregister("PythonVersion");
|
||||||
CommandRegistrationHelper.Unregister("PythonSearchPathes");
|
CommandRegistrationHelper.Unregister("PythonSearchPathes");
|
||||||
CommandRegistrationHelper.Unregister("ToggleIDE");
|
CommandRegistrationHelper.Unregister("ToggleIDE");
|
||||||
if (isEnabledIDE)
|
isEnabledIDE = false;
|
||||||
{
|
|
||||||
toggleIDE();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Ready()
|
public void Ready()
|
||||||
|
|
Loading…
Add table
Reference in a new issue