You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
This commit is contained in:
@@ -1992,7 +1992,7 @@ bool Main::start() {
|
||||
|
||||
if (check_only) {
|
||||
if (!script_res->is_valid()) {
|
||||
OS::get_singleton()->set_exit_code(1);
|
||||
OS::get_singleton()->set_exit_code(EXIT_FAILURE);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user