3.11.9-patch1

Fixed silly crash from test code that shouldn't have been there...
This commit is contained in:
Yair Morgenstern 2020-11-03 19:16:51 +02:00
parent f957dee357
commit a92d35eba1
2 changed files with 3 additions and 3 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 = 492 const val appCodeNumber = 493
const val appVersion = "3.11.9" const val appVersion = "3.11.9-patch1"
const val gdxVersion = "1.9.12" const val gdxVersion = "1.9.12"
const val roboVMVersion = "2.3.1" const val roboVMVersion = "2.3.1"

View File

@ -126,7 +126,7 @@ class NewGameScreen(previousScreen:CameraStageBaseScreen, _gameSetupInfo: GameSe
} }
} }
if (gameSetupInfo.gameParameters.isOnlineMultiplayer) { if (newGame != null && gameSetupInfo.gameParameters.isOnlineMultiplayer) {
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! 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 { try {
OnlineMultiplayer().tryUploadGame(newGame!!) OnlineMultiplayer().tryUploadGame(newGame!!)