mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 09:48:12 +07:00
Fixed a bug where no icon would display in city religion UI for pantheons (#5094)
This commit is contained in:
@ -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]",
|
||||
|
Reference in New Issue
Block a user