mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-21 10:25:10 -04:00
No longer displays population images for enemy cities
This commit is contained in:
parent
42ed4e5749
commit
7e2015572c
@ -50,10 +50,11 @@ class WorldTileGroup(tileInfo: TileInfo) : TileGroup(tileInfo) {
|
||||
if (!tileInfo.explored) return
|
||||
|
||||
if (populationImage != null) removePopulationIcon()
|
||||
if (tileInfo.workingCity != null && !tileInfo.isCityCenter && populationImage == null) addPopulationIcon()
|
||||
|
||||
|
||||
val city = tileInfo.city
|
||||
if (city != null && city.civInfo.isPlayerCivilization() && !tileInfo.isCityCenter && populationImage == null)
|
||||
addPopulationIcon()
|
||||
|
||||
if (city != null && tileInfo.isCityCenter) {
|
||||
if (cityButton == null) {
|
||||
cityButton = Table()
|
||||
|
Loading…
x
Reference in New Issue
Block a user