This commit is contained in:
yairm210 2024-12-22 22:48:59 +02:00
parent 2b0cc5cf90
commit 4428d25bb5

View File

@ -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") } }