summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2018-07-20 10:45:56 +0900
committerGitHub <noreply@github.com>2018-07-20 10:45:56 +0900
commitb2d7641a0dd65a782f981fb1f73c5e84a90f816c (patch)
treead8954154138c191f1c1796aa8e48d0b39b32bd0
parentc69de2ba46463adeadf90f38660d6b6e034d7e0b (diff)
parent515c848ba83e883fa79b2e29afa1815318f931c6 (diff)
Merge pull request #20295 from volzhs/fix-restart
Fix unwanted restarting
-rw-r--r--core/os/os.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index f99e98c240..3b34f0aa15 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -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.