mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -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
|
roadOwner = city.civ.civName // only when taking control, otherwise last owner
|
||||||
} else if (roadStatus != RoadStatus.None && owningCity != null) {
|
} else if (roadStatus != RoadStatus.None && owningCity != null) {
|
||||||
// previous tile owner still owns road, add to tracker
|
// Razing City! Remove owner
|
||||||
owningCity!!.civ.neutralRoads.add(this.position)
|
roadOwner = ""
|
||||||
}
|
}
|
||||||
owningCity = city
|
owningCity = city
|
||||||
isCityCenterInternal = getCity()?.location == position
|
isCityCenterInternal = getCity()?.location == position
|
||||||
|
Loading…
x
Reference in New Issue
Block a user