mirror of
https://github.com/yairm210/Unciv.git
synced 2025-10-02 00:15:36 -04:00
3.10.8-patch1
This commit is contained in:
parent
f859259c2a
commit
5e8f1176f3
@ -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"
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user