fixed issue (#8148)

This commit is contained in:
alexban011
2022-12-17 18:34:19 +02:00
committed by GitHub
parent cb9c753d5b
commit e7158646b0

View File

@ -127,7 +127,7 @@ class GlobalPoliticsOverviewTable (
private fun getCivInfoTable(civ: CivilizationInfo): Table {
val civInfoTable = Table(skin)
val leaderName = civ.getLeaderDisplayName().removeSuffix(" of " + civ.civName)
val leaderName = civ.nation.leaderName
civInfoTable.add(leaderName.toLabel(fontSize = 30)).row()
civInfoTable.add(civ.civName.toLabel()).row()
civInfoTable.add(civ.tech.era.name.toLabel()).row()
@ -142,7 +142,7 @@ class GlobalPoliticsOverviewTable (
it.policyBranchType != PolicyBranchType.BranchComplete &&
civ.policies.isAdopted(it.name)
}
policiesTable.add("[${branch.name}]: ${count}".toLabel()).row()
policiesTable.add("[${branch.name}]: $count".toLabel()).row()
}
return policiesTable
}