3.12.11-patch1

This commit is contained in:
Yair Morgenstern 2021-01-31 21:57:28 +02:00
parent 8016a64b97
commit 35ae2c749d
2 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig {
const val kotlinVersion = "1.3.71"
const val appName = "Unciv"
const val appCodeNumber = 525
const val appVersion = "3.12.11"
const val appCodeNumber = 526
const val appVersion = "3.12.11-patch1"
const val gdxVersion = "1.9.12"
const val roboVMVersion = "2.3.1"

View File

@ -504,6 +504,8 @@ class MapUnit {
fun removeFromTile() = currentTile.removeUnit(this)
fun moveThroughTile(tile: TileInfo) {
if (tile.improvement == Constants.ancientRuins && civInfo.isMajorCiv())
getAncientRuinBonus(tile)
if (tile.improvement == Constants.barbarianEncampment && !civInfo.isBarbarian())
clearEncampment(tile)