aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_run_native.cpp
diff options
context:
space:
mode:
authorvolzhs2016-06-24 21:20:43 +0900
committervolzhs2016-06-24 21:20:43 +0900
commit3dd4cf3fed549820bdfcf04647fd21636de1b33b (patch)
tree93825d90f9bb32e772789e1d201c0ec80b0f41b2 /tools/editor/editor_run_native.cpp
parent9e0b6057e74181635bf3732879313d3d82bcfd93 (diff)
downloadgodot-3dd4cf3fed549820bdfcf04647fd21636de1b33b.tar.gz
godot-3dd4cf3fed549820bdfcf04647fd21636de1b33b.tar.zst
godot-3dd4cf3fed549820bdfcf04647fd21636de1b33b.zip
Fix autosave when run on remote device
Fix #5367
Diffstat (limited to 'tools/editor/editor_run_native.cpp')
-rw-r--r--tools/editor/editor_run_native.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/editor/editor_run_native.cpp b/tools/editor/editor_run_native.cpp
index 234dd0308..edbcc7128 100644
--- a/tools/editor/editor_run_native.cpp
+++ b/tools/editor/editor_run_native.cpp
@@ -101,10 +101,8 @@ void EditorRunNative::_run_native(int p_idx,const String& p_platform) {
Ref<EditorExportPlatform> eep = EditorImportExport::get_singleton()->get_export_platform(p_platform);
ERR_FAIL_COND(eep.is_null());
- if (deploy_debug_remote) {
- emit_signal("native_run");
+ emit_signal("native_run");
- }
int flags=0;
if (deploy_debug_remote)
flags|=EditorExportPlatform::EXPORT_REMOTE_DEBUG;