mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 13:49:54 +07:00
Center icon no longer grayed out in city screen
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user