summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2018-01-07 13:00:15 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2018-01-07 13:00:15 +0100
commit09dd70878e82516b8f768dd50fc551959e21e4e5 (patch)
treea16784399e8a721c84b3379c7a971bfd933eaf8a
parent29e68aa40e3effa1946b3889021b8c61a933c05c (diff)
Fixes debugger randomly not pausing
-rw-r--r--editor/script_editor_debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index fa0deb7606..e993c2fd46 100644
--- a/editor/script_editor_debugger.cpp
+++ b/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();