Donno if its a bug or not, I consider it a hax.
open editor.zip, open editor.cs, look for
function toggleEditor(%make)
{
if (%make)
{
if (!$missionRunning)
{
MessageBoxOK("Mission Required", "You must load a mission before starting the Mission Editor.", "");
return;
}
if (!isObject(Editor))
{
Editor::create();
MissionCleanup.add(Editor);
}
if (Canvas.getContent() == EditorGui.getId())
Editor.close();
else
Editor.open();
}
}
What if this happens...
function toggleEditor(%make)
{
if (%make)
{
if (!$missionRunning)
{
//MessageBoxOK("Mission Required", "You must load a mission before starting the Mission Editor.", "");
Editor.open();
//return;
}
if (!isObject(Editor))
{
Editor::create();
MissionCleanup.add(Editor);
}
if (Canvas.getContent() == EditorGui.getId())
Editor.close();
else
Editor.open();
}
}