mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-21 18:36:17 -04:00
Fix settings load dependency on UncivGame.Current
This commit is contained in:
parent
001185f4c7
commit
3785dcc532
@ -81,8 +81,7 @@ interface ISortableGridContentProvider<IT, ACT> {
|
||||
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) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user