summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_debugger_server.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-10-18 16:43:37 +0200
committerkobewi <kobewi4e@gmail.com>2022-10-18 19:01:48 +0200
commite48c5daddfa70172c0eab57b8045a7087eec6e2c (patch)
tree249fa2203570136d3a2040ad612e6e86a516cd5f /editor/debugger/editor_debugger_server.cpp
parent28a4eec9a77bc797b7147be2453cdbe85cf47d7f (diff)
downloadredot-engine-e48c5daddfa70172c0eab57b8045a7087eec6e2c.tar.gz
Unify usage of GLOBAL/EDITOR_GET
Diffstat (limited to 'editor/debugger/editor_debugger_server.cpp')
-rw-r--r--editor/debugger/editor_debugger_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/debugger/editor_debugger_server.cpp b/editor/debugger/editor_debugger_server.cpp
index 63390825c6..dba0491cfc 100644
--- a/editor/debugger/editor_debugger_server.cpp
+++ b/editor/debugger/editor_debugger_server.cpp
@@ -72,8 +72,8 @@ String EditorDebuggerServerTCP::get_uri() const {
Error EditorDebuggerServerTCP::start(const String &p_uri) {
// Default host and port
- String bind_host = (String)EditorSettings::get_singleton()->get("network/debug/remote_host");
- int bind_port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
+ String bind_host = (String)EDITOR_GET("network/debug/remote_host");
+ int bind_port = (int)EDITOR_GET("network/debug/remote_port");
// Optionally override
if (!p_uri.is_empty() && p_uri != "tcp://") {