summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-29 11:21:39 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-01-14 22:25:35 +0200
commit5406b001ca8dd0b22cece26ebf4c15884d03add2 (patch)
tree5556e9077bb7e5ad1da5e3d2119825217dc4e1e5 /editor/debugger
parent60d031777b2a922cba03210181c9ba7ad3a6f3ab (diff)
Move remote debug buttons to a single menu.
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/debug_adapter/debug_adapter_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/debug_adapter/debug_adapter_parser.cpp b/editor/debugger/debug_adapter/debug_adapter_parser.cpp
index d685db40d9..fc806ded5e 100644
--- a/editor/debugger/debug_adapter/debug_adapter_parser.cpp
+++ b/editor/debugger/debug_adapter/debug_adapter_parser.cpp
@@ -213,7 +213,7 @@ Dictionary DebugAdapterParser::req_launch(const Dictionary &p_params) const {
}
EditorNode *editor = EditorNode::get_singleton();
- Error err = platform_string == "android" ? editor->run_play_native(device, idx) : editor->run_play_native(-1, idx);
+ Error err = platform_string == "android" ? editor->run_play_native(device * 10000 + idx) : editor->run_play_native(idx);
if (err) {
if (err == ERR_INVALID_PARAMETER && platform_string == "android") {
return prepare_error_response(p_params, DAP::ErrorType::MISSING_DEVICE);