Fixed a bug where no icon would display in city religion UI for pantheons (#5094)

This commit is contained in:
Xander Lenstra
2021-09-05 13:58:02 +02:00
committed by GitHub
parent 5170a27e07
commit f016012e39

View File

@ -87,7 +87,7 @@ class CityStatsTable(val cityScreen: CityScreen): Table() {
?: "None"
val icon =
if (label == "None") "Religion"
else cityInfo.religion.getMajorityReligion()!!.name
else cityInfo.religion.getMajorityReligion()!!.getIconName()
val expanderTab =
ExpanderTab(
title = "Majority Religion: [$label]",