Center icon no longer grayed out in city screen

This commit is contained in:
Yair Morgenstern 2018-05-24 22:29:34 +03:00
parent c8ddf6dc63
commit 2f48586f3e

View File

@ -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()