From 757ecd8590916337dd39d133e4cca190fed2b0bc Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Mon, 31 Aug 2020 20:51:53 +0300 Subject: [PATCH] Resolved #3053 - improvements can be built on neutral tiles --- core/src/com/unciv/logic/map/TileInfo.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/logic/map/TileInfo.kt b/core/src/com/unciv/logic/map/TileInfo.kt index 13b3f7ad3c..d1a4dd2b57 100644 --- a/core/src/com/unciv/logic/map/TileInfo.kt +++ b/core/src/com/unciv/logic/map/TileInfo.kt @@ -283,8 +283,8 @@ open class TileInfo { improvement.techRequired?.let { civInfo.tech.isResearched(it) } == false -> false "Cannot be built on bonus resource" in improvement.uniques && resource != null && getTileResource().resourceType == ResourceType.Bonus -> false - !improvement.hasUnique("Can be built outside your borders") - && getOwner() != civInfo -> false + getOwner() != null && getOwner() != civInfo && + !improvement.hasUnique("Can be built outside your borders") -> false improvement.terrainsCanBeBuiltOn.contains(topTerrain.name) -> true improvement.name == "Road" && roadStatus == RoadStatus.None -> true