summaryrefslogtreecommitdiff
path: root/platform/android/java/src
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-13 22:41:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-02-13 22:41:19 +0100
commite3658a6464b4473b7cca1d41f9315cd6bfd255d4 (patch)
treeda60873b3e12b6ffb263ad8346dd5dea2b754a33 /platform/android/java/src
parent89447739347b0e9226c5eff0797c72760f422f48 (diff)
Fix broken APK expansion due to missed option renames
Command line options were refactored for 3.0 to follow the common usage of double-dashed long options, but `--main-pack` went through the cracks. Fixes #16533.
Diffstat (limited to 'platform/android/java/src')
-rw-r--r--platform/android/java/src/org/godotengine/godot/Godot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java/src/org/godotengine/godot/Godot.java b/platform/android/java/src/org/godotengine/godot/Godot.java
index b5b0afb9e0..0d14211bd0 100644
--- a/platform/android/java/src/org/godotengine/godot/Godot.java
+++ b/platform/android/java/src/org/godotengine/godot/Godot.java
@@ -404,7 +404,7 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
new_cmdline = new String[2];
}
- new_cmdline[cll] = "--main_pack";
+ new_cmdline[cll] = "--main-pack";
new_cmdline[cll + 1] = expansion_pack_path;
command_line = new_cmdline;
}