From 35ae2c749daa81c284550ad8dab8aa6f03af259f Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sun, 31 Jan 2021 21:57:28 +0200 Subject: [PATCH] 3.12.11-patch1 --- buildSrc/src/main/kotlin/BuildConfig.kt | 4 ++-- core/src/com/unciv/logic/map/MapUnit.kt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/BuildConfig.kt b/buildSrc/src/main/kotlin/BuildConfig.kt index 29baa8125a..884bd6682d 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.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" diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index 86554ae751..8ddf63d32e 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -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)