4.6.10-patch1

This commit is contained in:
Yair Morgenstern 2023-05-08 21:01:23 +03:00
parent d00b06bad4
commit 203477eca1
4 changed files with 9 additions and 6 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig {
const val kotlinVersion = "1.8.0"
const val appName = "Unciv"
const val appCodeNumber = 862
const val appVersion = "4.6.10"
const val appCodeNumber = 863
const val appVersion = "4.6.10-patch1"
const val gdxVersion = "1.11.0"
const val roboVMVersion = "2.3.1"

View File

@ -531,7 +531,7 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci
companion object {
//region AUTOMATICALLY GENERATED VERSION DATA - DO NOT CHANGE THIS REGION, INCLUDING THIS COMMENT
val VERSION = Version("4.6.10", 862)
val VERSION = Version("4.6.10-patch1", 863)
//endregion
lateinit var Current: UncivGame

View File

@ -243,10 +243,12 @@ open class Tile : IsPartOfGameInfoSerialization {
fun setExplored(player: Civilization, isExplored: Boolean, explorerPosition: Vector2? = null) {
if (isExplored) {
// Disable the undo button if a new tile has been explored
if (!exploredBy.contains(player.civName) && GUI.isWorldLoaded()) {
if (!exploredBy.contains(player.civName)) {
if (GUI.isWorldLoaded()) {
val worldScreen = GUI.getWorldScreen()
worldScreen.preActionGameInfo = worldScreen.gameInfo
}
exploredBy = exploredBy.withItem(player.civName)
val worldScreen = GUI.getWorldScreen()
worldScreen.preActionGameInfo = worldScreen.gameInfo
}
if (player.playerType == PlayerType.Human)

View File

@ -488,6 +488,7 @@ object RulesetCache : HashMap<String,Ruleset>() {
name = ruleset.fullName
}
}
this.putAll(newRulesets)
val errorLines = ArrayList<String>()
if (!noMods){