mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01: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…
Reference in New Issue
Block a user