You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -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://") {
|
||||
|
||||
Reference in New Issue
Block a user