3.10.8-patch1

This commit is contained in:
Yair Morgenstern 2020-09-10 19:32:45 +03:00
parent f859259c2a
commit 5e8f1176f3
2 changed files with 7 additions and 4 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig { object BuildConfig {
const val kotlinVersion = "1.3.71" const val kotlinVersion = "1.3.71"
const val appName = "Unciv" const val appName = "Unciv"
const val appCodeNumber = 472 const val appCodeNumber = 473
const val appVersion = "3.10.8" const val appVersion = "3.10.8-patch1"
const val gdxVersion = "1.9.10" const val gdxVersion = "1.9.10"
const val roboVMVersion = "2.3.1" const val roboVMVersion = "2.3.1"

View File

@ -174,14 +174,17 @@ class MainMenuScreen: CameraStageBaseScreen() {
} catch (outOfMemory: OutOfMemoryError) { } catch (outOfMemory: OutOfMemoryError) {
ResponsePopup("Not enough memory on phone to load game!", this) ResponsePopup("Not enough memory on phone to load game!", this)
return@thread 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 Gdx.app.postRunnable { /// ... and load it into the screen on main thread for GL context
try { try {
game.loadGame(savedGame) game.loadGame(savedGame)
dispose() dispose()
} catch (ex: Exception) { // silent fail if we can't read the autosave } catch (outOfMemory: OutOfMemoryError) {
ResponsePopup("Cannot resume game!", this) ResponsePopup("Not enough memory on phone to load game!", this)
} }
} }