mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 07:48:31 +07:00
List which city owns each tile in the city screen UI (#7631)
This commit is contained in:

committed by
GitHub

parent
28f65a7599
commit
8f23ae52cc
@ -67,6 +67,9 @@ class CityScreenTileTable(private val cityScreen: CityScreen): Table() {
|
||||
innerTable.add(buyTileButton).padTop(5f).row()
|
||||
}
|
||||
|
||||
if (selectedTile.owningCity != null)
|
||||
innerTable.add("Owned by [${selectedTile.owningCity!!.name}]".toLabel()).row()
|
||||
|
||||
if (city.civInfo.cities.filterNot { it == city }.any { it.isWorked(selectedTile) })
|
||||
innerTable.add("Worked by [${selectedTile.getWorkingCity()!!.name}]".toLabel()).row()
|
||||
|
||||
|
Reference in New Issue
Block a user