aboutsummaryrefslogtreecommitdiff
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli2017-06-10 16:28:18 +0200
committerFabio Alessandrelli2017-06-10 23:34:35 +0200
commitb76275ab12b8d12dd6458d951d2e4f37572df1a8 (patch)
tree623bb9b251d3ab8012337e63099348268cb76d8e /platform/android/export/export.cpp
parentfc1368bee00301ef7c789982474876c5a6ea9854 (diff)
downloadgodot-b76275ab12b8d12dd6458d951d2e4f37572df1a8.tar.gz
godot-b76275ab12b8d12dd6458d951d2e4f37572df1a8.tar.zst
godot-b76275ab12b8d12dd6458d951d2e4f37572df1a8.zip
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 84fc4f10b..51597526a 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -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));