mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
On City Raze, previous owner doesn't pay Road Maintenance (#9706)
This commit is contained in:
parent
589a9fa29f
commit
753358c1f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user