Merge pull request #567 from Ragora/bugfix-guieditor-mission-editor

* BugFix: Correct an error where the GUI editor cannot be opened
This commit is contained in:
Brian Roberts 2021-09-11 01:14:13 -05:00 committed by GitHub
commit 465b1815d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,6 +121,8 @@ function GuiEditor::close(%this)
if(Canvas.getContent() != GuiEditorGui.getId())
return;
$InGuiEditor = false;
GuiGroup.add(GuiEditorGui);
Canvas.setContent(GuiEditor.lastContent);