浏览代码

fix nav editor stop comand

AzaezelX 6 月之前
父节点
当前提交
c6f19e5cae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/BaseGame/game/tools/navEditor/NavEditorGui.gui

+ 1 - 1
Templates/BaseGame/game/tools/navEditor/NavEditorGui.gui

@@ -485,7 +485,7 @@ $guiContent = new GuiNavEditorCtrl(NavEditorGui, EditorGuiGroup) {
                   VertSizing = "bottom";
                   Extent = "90 18";
                   text = "Stop";
-                  command = "NavEditorGui.getPlayer().stop();";
+                  command = "NavEditorGui.stop();";
                };
             };
          };