From 4428d25bb59ad2d5d1d258c8bec218df89a2d3f6 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Sun, 22 Dec 2024 22:48:59 +0200 Subject: [PATCH] undo --- core/src/com/unciv/ui/components/tilegroups/TileSetStrings.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/components/tilegroups/TileSetStrings.kt b/core/src/com/unciv/ui/components/tilegroups/TileSetStrings.kt index 57e7ba33fa..349f4a2d3a 100644 --- a/core/src/com/unciv/ui/components/tilegroups/TileSetStrings.kt +++ b/core/src/com/unciv/ui/components/tilegroups/TileSetStrings.kt @@ -54,7 +54,7 @@ class TileSetStrings( // These need to be by lazy since the orFallback expects a tileset, which it may not get. val hexagon: String by lazy { orFallback { tileSetLocation + "Hexagon"} } - val hexagonList = listOf(hexagon) + val hexagonList by lazy { listOf(hexagon) } // since it's orFallback, needs to be lazy val crosshatchHexagon by lazy { orFallback { tileSetLocation + "CrosshatchHexagon" } } val unexploredTile by lazy { orFallback { tileSetLocation + "UnexploredTile" } } val crosshair by lazy { orFallback { getString(tileSetLocation, "Crosshair") } }