Răsfoiți Sursa

Explicitly initialize 'pending_auto_reload' to false.

Saracen 9 ani în urmă
părinte
comite
5035edb7fd
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      tools/editor/plugins/script_editor_plugin.cpp

+ 1 - 0
tools/editor/plugins/script_editor_plugin.cpp

@@ -2749,6 +2749,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
 	completion_cache = memnew( EditorScriptCodeCompletionCache );
 	completion_cache = memnew( EditorScriptCodeCompletionCache );
 	restoring_layout=false;
 	restoring_layout=false;
 	waiting_update_names=false;
 	waiting_update_names=false;
+	pending_auto_reload=false;
 	auto_reload_running_scripts=false;
 	auto_reload_running_scripts=false;
 	editor=p_editor;
 	editor=p_editor;