Fix tile yields in city screen

This commit is contained in:
r3versi 2020-02-12 19:39:32 +01:00
parent 3402065e3c
commit aec539f77f
No known key found for this signature in database
GPG key ID: 3F265322CC916FCA

View file

@ -59,7 +59,7 @@ class CityTileGroup(private val city: CityInfo, tileInfo: TileInfo, tileSetStrin
}
private fun updateYieldGroup() {
yieldGroup.setStats(tileInfo.getTileStats(city, city.civInfo.gameInfo.getCurrentPlayerCivilization()))
yieldGroup.setStats(tileInfo.getTileStats(city, city.civInfo))
yieldGroup.setOrigin(Align.center)
yieldGroup.setScale(0.7f)
yieldGroup.toFront()