update score icon. (#8118)

This commit is contained in:
nacro711072
2022-12-11 19:08:34 +08:00
committed by GitHub
parent 5843540d05
commit aaaa84a00f
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class StatsOverviewTab(
private fun updateScoreTable() = scoreTable.apply {
clear()
val scoreHeader = Table()
val scoreIcon = ImageGetter.getImage("OtherIcons/Cultured")
val scoreIcon = ImageGetter.getImage("CityStateIcons/Cultured")
scoreIcon.color = Color.FIREBRICK
scoreHeader.add(scoreIcon).padRight(1f).size(Constants.headingFontSize.toFloat())
scoreHeader.add("Score".toLabel(fontSize = Constants.headingFontSize))

View File

@ -6,7 +6,7 @@ import com.unciv.ui.images.ImageGetter
enum class RankingType(val getImage: ()->Image?) {
// production, gold, happiness, and culture already have icons added when the line is `tr()`anslated
Score({ ImageGetter.getImage("OtherIcons/Cultured").apply { color = Color.FIREBRICK } }),
Score({ ImageGetter.getImage("CityStateIcons/Cultured").apply { color = Color.FIREBRICK } }),
Population({ ImageGetter.getStatIcon("Population") }),
Crop_Yield({ ImageGetter.getStatIcon("Food") }),
Production({ null }),