You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix network/debug/remote_port editor setting not working properly
This commit is contained in:
@@ -581,12 +581,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
GLOBAL_DEF("memory/multithread/thread_rid_pool_prealloc", 60);
|
||||
|
||||
GLOBAL_DEF("network/debug/max_remote_stdout_chars_per_second", 2048);
|
||||
GLOBAL_DEF("network/debug/remote_port", 6007);
|
||||
|
||||
if (debug_mode == "remote") {
|
||||
|
||||
ScriptDebuggerRemote *sdr = memnew(ScriptDebuggerRemote);
|
||||
uint16_t debug_port = GLOBAL_GET("network/debug/remote_port");
|
||||
uint16_t debug_port = 6007;
|
||||
if (debug_host.find(":") != -1) {
|
||||
int sep_pos = debug_host.find_last(":");
|
||||
debug_port = debug_host.substr(sep_pos + 1, debug_host.length()).to_int();
|
||||
|
||||
Reference in New Issue
Block a user