diff options
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/main.cpp b/editor/main.cpp index ce689e8..a431183 100644 --- a/editor/main.cpp +++ b/editor/main.cpp @@ -12,7 +12,7 @@ void signal_handler(int signal_num) { pkeSettings.isGameRunning = false; } -int main() { +int main(int argc, char *argv[]) { signal(SIGTERM, signal_handler); fflush(stdout); fflush(stderr); @@ -28,7 +28,7 @@ int main() { pkePlugin.OnImGuiRender = PkeEditor_RecordImGui; } // run - Game_Main({}); + Game_Main({}, argv[0]); fprintf(stdout, "PKE_EDITOR EXITING\n"); return 0; } |
