diff options
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 72f35f6..6eb7f35 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -108,7 +108,7 @@ void PkeEditor_Tick(double delta) { "pke-runtime", "--plugin", pkeSettings.args.pluginPath == nullptr ? "libpke-example.o" : pkeSettings.args.pluginPath, "--project", pkeSettings.args.projectPath == nullptr ? PKE_PROJ_DEFAULT_FILENAME : pkeSettings.args.projectPath, - "--scene", (editor_mstr.active_scene != nullptr && editor_mstr.active_scene->name[0] != '\0') ? editor_mstr.active_scene->name : PKE_PROJ_DEFAULT_FILENAME , + "--scene", (editor_mstr.active_scene != nullptr && editor_mstr.active_scene->file_path.length > 0) ? editor_mstr.active_scene->file_path.val : PKE_PROJ_DEFAULT_FILENAME , NULL, }; status = execvp("pke-runtime", const_cast<char **>(argv)); |
