aboutsummaryrefslogtreecommitdiff
path: root/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-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 d346a03d4..454e09b7e 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -997,6 +997,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
msg.push_back("inspect_object");
msg.push_back(inspected_object_id);
ppeer->put_var(msg);
+ inspected_object_id = 0;
}
}
}
@@ -1010,6 +1011,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
msg.push_back("inspect_object");
msg.push_back(inspected_object_id);
ppeer->put_var(msg);
+ inspected_object_id = 0;
}
}
}