mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 01:39:40 +07:00
Natural wonders spawned before rivers, so we don't retroactively get rivers on coast tiles
Other small improvements for catching and avoiding crashes
This commit is contained in:
@ -18,7 +18,8 @@ class AndroidLauncher : AndroidApplication() {
|
||||
// Only allow mods on KK+, to avoid READ_EXTERNAL_STORAGE permission earlier versions need
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
copyMods()
|
||||
GameSaver.externalFilesDirForAndroid = getExternalFilesDir(null)!!.path
|
||||
val externalfilesDir = getExternalFilesDir(null)
|
||||
if(externalfilesDir!=null) GameSaver.externalFilesDirForAndroid = externalfilesDir.path
|
||||
}
|
||||
|
||||
val config = AndroidApplicationConfiguration().apply { useImmersiveMode = true }
|
||||
|
Reference in New Issue
Block a user