Fix crash on game exit when IDE is active

This commit is contained in:
NGnius 2020-04-04 14:39:41 -04:00
parent e680b95e4c
commit 2c60413622

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()