diff --git a/core/src/com/unciv/ui/components/ISortableGridContentProvider.kt b/core/src/com/unciv/ui/components/ISortableGridContentProvider.kt index beea41e250..59d938d4d7 100644 --- a/core/src/com/unciv/ui/components/ISortableGridContentProvider.kt +++ b/core/src/com/unciv/ui/components/ISortableGridContentProvider.kt @@ -81,8 +81,7 @@ interface ISortableGridContentProvider { items.sumOf { getEntryValue(it) }.toCenteredLabel() companion object { - @JvmStatic - val collator = UncivGame.Current.settings.getCollatorFromLocale() + val collator by lazy {UncivGame.Current.settings.getCollatorFromLocale()} @JvmStatic fun getCircledIcon(path: String, iconSize: Float, circleColor: Color = Color.LIGHT_GRAY) =