1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Remove "debug/remote_port" project setting (moved to editor)

Also updated default port from 6007 (X11) to 6096 (unspec)
This commit is contained in:
Fabio Alessandrelli
2017-07-22 14:22:45 +02:00
parent 63a9b02131
commit c3055b24d1
5 changed files with 9 additions and 7 deletions

View File

@@ -562,7 +562,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
if (debug_mode == "remote") {
ScriptDebuggerRemote *sdr = memnew(ScriptDebuggerRemote);
uint16_t debug_port = GLOBAL_DEF("debug/remote_port", 6007);
uint16_t debug_port = 6096;
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();