Fix unwanted restarting

This commit is contained in:
volzhs 2018-07-20 10:41:32 +09:00
parent c69de2ba46
commit 515c848ba8

View file

@ -674,6 +674,7 @@ List<String> OS::get_restart_on_exit_argumens() const {
OS::OS() { OS::OS() {
void *volatile stack_bottom; void *volatile stack_bottom;
restart_on_exit = false;
last_error = NULL; last_error = NULL;
singleton = this; singleton = this;
_keep_screen_on = true; // set default value to true, because this had been true before godot 2.0. _keep_screen_on = true; // set default value to true, because this had been true before godot 2.0.