summaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-07-29 14:57:05 +0200
committerGitHub <noreply@github.com>2016-07-29 14:57:05 +0200
commit7ea5bea00d6900d368906f37cff02fb0a72c1917 (patch)
tree896876a8fd81cfd4694db3b921455b3e4896653a /tools/editor/plugins/script_editor_plugin.cpp
parent2dd83e28b97d7bc070e6641b7d6939b02b4067bc (diff)
parent5035edb7fdff85749ab5640b9a7fda91b9d39012 (diff)
Merge pull request #5961 from SaracenOne/script_sync_fix
Explicitly initialize 'pending_auto_reload' to false.
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 4032a790d8..be4b002d89 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -2749,6 +2749,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
completion_cache = memnew( EditorScriptCodeCompletionCache );
restoring_layout=false;
waiting_update_names=false;
+ pending_auto_reload=false;
auto_reload_running_scripts=false;
editor=p_editor;