From 9b5f70e868fa350335707155394aaf88f258006d Mon Sep 17 00:00:00 2001 From: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Date: Sat, 30 Apr 2022 23:07:48 +0200 Subject: [PATCH] Show number of global followers in Religion Overview (#6654) --- .../src/com/unciv/ui/overviewscreen/ReligionOverviewTable.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/overviewscreen/ReligionOverviewTable.kt b/core/src/com/unciv/ui/overviewscreen/ReligionOverviewTable.kt index f7f7005420..6cf9ac3629 100644 --- a/core/src/com/unciv/ui/overviewscreen/ReligionOverviewTable.kt +++ b/core/src/com/unciv/ui/overviewscreen/ReligionOverviewTable.kt @@ -149,8 +149,11 @@ class ReligionOverviewTab( statsTable.add(cityName.toLabel()).right().row() } } + val manager = religion.getFounder().religionManager statsTable.add("Cities following this religion:".toLabel()) - statsTable.add(religion.getFounder().religionManager.numberOfCitiesFollowingThisReligion().toLabel()).right().row() + statsTable.add(manager.numberOfCitiesFollowingThisReligion().toLabel()).right().row() + statsTable.add("{Followers of this religion}:".toLabel()) + statsTable.add(manager.numberOfFollowersFollowingThisReligion("in all cities").toLabel()).right().row() val minWidth = max(statsTable.minWidth, beliefsTable.minWidth) + 5