Skip to content

Commit

Permalink
Fix unwanted restarting
Browse files Browse the repository at this point in the history
  • Loading branch information
volzhs committed Jul 20, 2018
1 parent c69de2b commit 515c848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/os/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ List<String> OS::get_restart_on_exit_argumens() const {
OS::OS() {
void *volatile stack_bottom;

restart_on_exit = false;
last_error = NULL;
singleton = this;
_keep_screen_on = true; // set default value to true, because this had been true before godot 2.0.
Expand Down

0 comments on commit 515c848

Please sign in to comment.