mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
This commit is contained in:
parent
0e4abcb77f
commit
60d2c1fd47
9 changed files with 8 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue