Merge pull request #8529 from volzhs/auto-accept-quit

Fix auto_accept_quit option to work (2.1)
This commit is contained in:
Rémi Verschelde 2017-04-26 08:13:49 +02:00 committed by GitHub
commit 13b15633d3

View File

@ -460,7 +460,6 @@ void SceneTree::input_event(const InputEvent &p_event) {
void SceneTree::init() {
//_quit=false;
accept_quit = true;
initialized = true;
input_handled = false;
@ -1625,6 +1624,7 @@ SceneTree::SceneTree() {
singleton = this;
_quit = false;
accept_quit = true;
initialized = false;
#ifdef TOOLS_ENABLED
editor_hint = false;