Browse Source

Fix error list not being cleared

Ricardo Subtil 3 years ago
parent
commit
9e85c95ca2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      editor/debugger/script_editor_debugger.cpp

+ 1 - 2
editor/debugger/script_editor_debugger.cpp

@@ -884,8 +884,7 @@ void ScriptEditorDebugger::_clear_breakpoints() {
 }
 
 void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) {
-	error_count = 0;
-	warning_count = 0;
+	_clear_errors_list();
 	stop();
 
 	peer = p_peer;