mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Fixed a bug where no icon would display in city religion UI for pantheons (#5094)
This commit is contained in:
parent
5170a27e07
commit
f016012e39
@ -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]",
|
||||
|
Loading…
x
Reference in New Issue
Block a user