You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix network/debug/remote_port editor setting not working properly
This commit is contained in:
@@ -1714,7 +1714,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) {
|
||||
args.push_back("--remove-all");
|
||||
err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv);
|
||||
|
||||
int port = GlobalConfig::get_singleton()->get("network/debug/remote_port");
|
||||
int port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
|
||||
args.clear();
|
||||
args.push_back("reverse");
|
||||
args.push_back("tcp:"+itos(port));
|
||||
@@ -2993,7 +2993,7 @@ public:
|
||||
args.push_back("--remove-all");
|
||||
err = OS::get_singleton()->execute(adb, args, true, NULL, NULL, &rv);
|
||||
|
||||
int port = GlobalConfig::get_singleton()->get("network/debug/remote_port");
|
||||
int port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
|
||||
args.clear();
|
||||
args.push_back("reverse");
|
||||
args.push_back("tcp:" + itos(port));
|
||||
|
||||
Reference in New Issue
Block a user