Merge pull request #9265 from RandomShaper/fix-dbg-regression-2.1
Fix regression in script debugger (2.1)
This commit is contained in:
commit
ba87ef3d12
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ void ScriptEditorDebugger::start() {
|
||||||
perf_max[i] = 0;
|
perf_max[i] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int remote_port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
|
uint16_t remote_port = GLOBAL_DEF("debug/remote_port", 6007);
|
||||||
if (server->listen(remote_port) != OK) {
|
if (server->listen(remote_port) != OK) {
|
||||||
EditorNode::get_log()->add_message(String("** Error listening on port ") + itos(remote_port) + String(" **"));
|
EditorNode::get_log()->add_message(String("** Error listening on port ") + itos(remote_port) + String(" **"));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue