mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-31 15:19:29 +07:00
@ -306,10 +306,11 @@ open class TileInfo : IsPartOfGameInfoSerialization {
|
||||
|
||||
// function handling when removing a road from the tile
|
||||
fun removeRoad() {
|
||||
roadStatus = RoadStatus.None
|
||||
roadIsPillaged = false
|
||||
if (roadStatus == RoadStatus.None) return
|
||||
roadStatus = RoadStatus.None
|
||||
if (owningCity == null)
|
||||
getRoadOwner()!!.neutralRoads.remove(this.position)
|
||||
getRoadOwner()?.neutralRoads?.remove(this.position)
|
||||
}
|
||||
|
||||
fun getShownImprovement(viewingCiv: CivilizationInfo?): String? {
|
||||
|
Reference in New Issue
Block a user