Skip to content

Commit

Permalink
Fix retrieving command line flags in Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
MTareqAzim committed Oct 28, 2023
1 parent f497156 commit ee31f24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ class Godot(private val context: Context) : SensorEventListener {
val arg = ByteArray(strlen)
r = inputStream.read(arg)
if (r == strlen) {
cmdline[i] = String(arg, StandardCharsets.UTF_8)
cmdline.add(String(arg, StandardCharsets.UTF_8))
}
}
cmdline
Expand Down

0 comments on commit ee31f24

Please sign in to comment.