mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Center icon no longer grayed out in city screen
This commit is contained in:
parent
c8ddf6dc63
commit
2f48586f3e
@ -52,7 +52,7 @@ class CityTileGroup(private val city: CityInfo, tileInfo: TileInfo) : TileGroup(
|
||||
populationImage!!.setPosition(width / 2 - populationImage!!.width / 2,
|
||||
height * 0.85f - populationImage!!.height / 2)
|
||||
|
||||
if (tileInfo.isWorked())
|
||||
if (tileInfo.isWorked()|| tileInfo.isCityCenter())
|
||||
populationImage!!.color = Color.WHITE
|
||||
else populationImage!!.color = Color.GRAY
|
||||
populationImage!!.toFront()
|
||||
|
Loading…
Reference in New Issue
Block a user