Skip to content

Commit

Permalink
Call the intended method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Apr 21, 2024
1 parent a33532f commit ba90044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/frt/os_frt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ class OS_FRT : public OS_Unix, public Runnable {
fatal("no video module available.");
screen_size = env->video->get_screen_size();
}
void run_() { main_run(); }
void run_() { run(); }
int get_exit_code_() { return get_exit_code(); }
};

Expand Down
2 changes: 1 addition & 1 deletion platform/frt_sdl/frt_godot3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ extern "C" int frt_godot_main(int argc, char *argv[]) {
if (err != OK)
return 255;
if (Main::start())
os.main_run();
os.run();
Main::cleanup();
return os.get_exit_code();
}

0 comments on commit ba90044

Please sign in to comment.