Empty Faith indicator no longer displayed in city stats

This commit is contained in:
Yair Morgenstern 2020-07-10 16:47:33 +03:00
parent bc6ce6e54d
commit 6d34612035
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class CityScreen(internal val city: CityInfo): CameraStageBaseScreen() {
/** Displays current production, production queue and available productions list - sits on LEFT */
private var constructionsTable = ConstructionsTable(this)
/** Displays stats, buildings, specialists and stats drilldown - sits on TOP RIGHT */
/** Displays stats, buildings, specialists and stats drilldown - sits on TOP LEFT, can be toggled to */
private var cityInfoTable = CityInfoTable(this)
/** Displays raze city button - sits on TOP CENTER */

View file

@ -33,7 +33,7 @@ class CityStatsTable(val cityScreen: CityScreen): Table() {
val ministatsTable = Table().pad(5f)
ministatsTable.defaults()
for(stat in cityInfo.cityStats.currentCityStats.toHashMap()) {
if(stat.key == Stat.Happiness) continue
if(stat.key == Stat.Happiness || stat.key == Stat.Faith) continue
ministatsTable.add(ImageGetter.getStatIcon(stat.key.name)).size(20f).padRight(3f)
ministatsTable.add(round(stat.value).toInt().toString().toLabel()).padRight(13f)
}