Call the intended method.

This commit is contained in:
Relintai 2024-04-21 10:30:27 +02:00
parent a33532f7ad
commit ba900448ed
2 changed files with 2 additions and 2 deletions

View File

@ -651,7 +651,7 @@ public:
fatal("no video module available."); fatal("no video module available.");
screen_size = env->video->get_screen_size(); screen_size = env->video->get_screen_size();
} }
void run_() { main_run(); } void run_() { run(); }
int get_exit_code_() { return get_exit_code(); } int get_exit_code_() { return get_exit_code(); }
}; };

View File

@ -438,7 +438,7 @@ extern "C" int frt_godot_main(int argc, char *argv[]) {
if (err != OK) if (err != OK)
return 255; return 255;
if (Main::start()) if (Main::start())
os.main_run(); os.run();
Main::cleanup(); Main::cleanup();
return os.get_exit_code(); return os.get_exit_code();
} }