소스 검색

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

* BugFix: Correct an error where the GUI editor cannot be opened
Brian Roberts 4 년 전
부모
커밋
465b1815d7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript

+ 2 - 0
Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript

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