Merge pull request #5961 from SaracenOne/script_sync_fix

Explicitly initialize 'pending_auto_reload' to false.
This commit is contained in:
Rémi Verschelde 2016-07-29 14:57:05 +02:00 committed by GitHub
commit 7ea5bea00d
1 changed files with 1 additions and 0 deletions

View File

@ -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;