diff --git a/buildSrc/src/main/kotlin/BuildConfig.kt b/buildSrc/src/main/kotlin/BuildConfig.kt index 2ed652b3fc..4643c13e6d 100644 --- a/buildSrc/src/main/kotlin/BuildConfig.kt +++ b/buildSrc/src/main/kotlin/BuildConfig.kt @@ -3,8 +3,8 @@ package com.unciv.build object BuildConfig { const val kotlinVersion = "1.4.30" const val appName = "Unciv" - const val appCodeNumber = 535 - const val appVersion = "3.13.3-patch1" + const val appCodeNumber = 536 + const val appVersion = "3.13.3-patch2" const val gdxVersion = "1.9.14" const val roboVMVersion = "2.3.1" diff --git a/core/src/com/unciv/ui/newgamescreen/NewGameScreen.kt b/core/src/com/unciv/ui/newgamescreen/NewGameScreen.kt index b7fc161428..522af6f76a 100644 --- a/core/src/com/unciv/ui/newgamescreen/NewGameScreen.kt +++ b/core/src/com/unciv/ui/newgamescreen/NewGameScreen.kt @@ -145,14 +145,16 @@ class NewGameScreen(previousScreen:CameraStageBaseScreen, _gameSetupInfo: GameSe newGame!!.isUpToDate = true // So we don't try to download it from dropbox the second after we upload it - the file is not yet ready for loading! try { OnlineMultiplayer().tryUploadGame(newGame!!) - GameSaver.autoSave(newGame!!) {} - // Saved as Multiplayer game to show up in the session browser - GameSaver.saveGame(newGame!!, newGame!!.gameId, true) // Save gameId to clipboard because you have to do it anyway. Gdx.app.clipboard.contents = newGame!!.gameId // Popup to notify the User that the gameID got copied to the clipboard Gdx.app.postRunnable { ToastPopup("gameID copied to clipboard".tr(), UncivGame.Current.worldScreen, 2500) } + + GameSaver.autoSave(newGame!!) {} + + // Saved as Multiplayer game to show up in the session browser + GameSaver.saveGame(newGame!!, newGame!!.gameId, true) } catch (ex: Exception) { Gdx.app.postRunnable { val cantUploadNewGamePopup = Popup(this) diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt index 7f019bfaef..ab02ebccc1 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt @@ -144,7 +144,7 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() { if (gameInfo.gameParameters.isOnlineMultiplayer && !gameInfo.isUpToDate) isPlayersTurn = false // until we're up to date, don't let the player do anything - if (gameInfo.gameParameters.isOnlineMultiplayer && !isPlayersTurn && !gameInfo.isUpToDate) { + if (gameInfo.gameParameters.isOnlineMultiplayer && !isPlayersTurn) { // restart the timer stopMultiPlayerRefresher()