Skip to content

Commit

Permalink
Merge pull request #20295 from volzhs/fix-restart
Browse files Browse the repository at this point in the history
Fix unwanted restarting
  • Loading branch information
volzhs authored Jul 20, 2018
2 parents c69de2b + 515c848 commit b2d7641
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 b2d7641

Please sign in to comment.