3.10.8-patch1
This commit is contained in:
parent
f859259c2a
commit
5e8f1176f3
2 changed files with 7 additions and 4 deletions
|
@ -3,8 +3,8 @@ package com.unciv.build
|
|||
object BuildConfig {
|
||||
const val kotlinVersion = "1.3.71"
|
||||
const val appName = "Unciv"
|
||||
const val appCodeNumber = 472
|
||||
const val appVersion = "3.10.8"
|
||||
const val appCodeNumber = 473
|
||||
const val appVersion = "3.10.8-patch1"
|
||||
|
||||
const val gdxVersion = "1.9.10"
|
||||
const val roboVMVersion = "2.3.1"
|
||||
|
|
|
@ -174,14 +174,17 @@ class MainMenuScreen: CameraStageBaseScreen() {
|
|||
} catch (outOfMemory: OutOfMemoryError) {
|
||||
ResponsePopup("Not enough memory on phone to load game!", this)
|
||||
return@thread
|
||||
} catch (ex: Exception) { // silent fail if we can't read the autosave for any reason
|
||||
ResponsePopup("Cannot resume game!", this)
|
||||
return@thread
|
||||
}
|
||||
|
||||
Gdx.app.postRunnable { /// ... and load it into the screen on main thread for GL context
|
||||
try {
|
||||
game.loadGame(savedGame)
|
||||
dispose()
|
||||
} catch (ex: Exception) { // silent fail if we can't read the autosave
|
||||
ResponsePopup("Cannot resume game!", this)
|
||||
} catch (outOfMemory: OutOfMemoryError) {
|
||||
ResponsePopup("Not enough memory on phone to load game!", this)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue