Преглед изворни кода

Merge pull request #39078 from m4gr3d/override_command_line_args_3_2

[3.2] Provide the ability to override the command line arguments
Rémi Verschelde пре 5 година
родитељ
комит
6abe73f5b8
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      platform/android/java/lib/src/org/godotengine/godot/Godot.java

+ 2 - 1
platform/android/java/lib/src/org/godotengine/godot/Godot.java

@@ -454,7 +454,8 @@ public abstract class Godot extends FragmentActivity implements SensorEventListe
 		return deviceInfo.reqGlEsVersion;
 	}
 
-	private String[] getCommandLine() {
+	@CallSuper
+	protected String[] getCommandLine() {
 		InputStream is;
 		try {
 			is = getAssets().open("_cl_");