summaryrefslogtreecommitdiffstats
path: root/modules/multiplayer/editor/multiplayer_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/multiplayer/editor/multiplayer_editor_plugin.cpp')
-rw-r--r--modules/multiplayer/editor/multiplayer_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/multiplayer/editor/multiplayer_editor_plugin.cpp b/modules/multiplayer/editor/multiplayer_editor_plugin.cpp
index a496f5dfa2..817d503aec 100644
--- a/modules/multiplayer/editor/multiplayer_editor_plugin.cpp
+++ b/modules/multiplayer/editor/multiplayer_editor_plugin.cpp
@@ -106,6 +106,8 @@ void MultiplayerEditorDebugger::setup_session(int p_session_id) {
profiler->connect("enable_profiling", callable_mp(this, &MultiplayerEditorDebugger::_profiler_activate).bind(p_session_id));
profiler->connect("open_request", callable_mp(this, &MultiplayerEditorDebugger::_open_request));
profiler->set_name(TTR("Network Profiler"));
+ session->connect("started", callable_mp(profiler, &EditorNetworkProfiler::started));
+ session->connect("stopped", callable_mp(profiler, &EditorNetworkProfiler::stopped));
session->add_session_tab(profiler);
profilers[p_session_id] = profiler;
}