Przeglądaj źródła

Fixes debugger randomly not pausing

Bernhard Liebl 7 lat temu
rodzic
commit
09dd70878e
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      editor/script_editor_debugger.cpp

+ 2 - 0
editor/script_editor_debugger.cpp

@@ -1166,6 +1166,7 @@ void ScriptEditorDebugger::start() {
 	}
 
 	set_process(true);
+	breaked = false;
 }
 
 void ScriptEditorDebugger::pause() {
@@ -1177,6 +1178,7 @@ void ScriptEditorDebugger::unpause() {
 void ScriptEditorDebugger::stop() {
 
 	set_process(false);
+	breaked = false;
 
 	server->stop();