From 753358c1f08a3653df23f5a48b6ab2a36d1de689 Mon Sep 17 00:00:00 2001 From: itanasi <44038014+itanasi@users.noreply.github.com> Date: Sun, 2 Jul 2023 04:53:19 -0700 Subject: [PATCH] On City Raze, previous owner doesn't pay Road Maintenance (#9706) --- core/src/com/unciv/logic/map/tile/Tile.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/logic/map/tile/Tile.kt b/core/src/com/unciv/logic/map/tile/Tile.kt index ae15b86863..71741734f2 100644 --- a/core/src/com/unciv/logic/map/tile/Tile.kt +++ b/core/src/com/unciv/logic/map/tile/Tile.kt @@ -58,8 +58,8 @@ open class Tile : IsPartOfGameInfoSerialization { } roadOwner = city.civ.civName // only when taking control, otherwise last owner } else if (roadStatus != RoadStatus.None && owningCity != null) { - // previous tile owner still owns road, add to tracker - owningCity!!.civ.neutralRoads.add(this.position) + // Razing City! Remove owner + roadOwner = "" } owningCity = city isCityCenterInternal = getCity()?.location == position