mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Added empty hexagon when none of the images exist - this fixes the default tileset for the new rendering method
This commit is contained in:
parent
39439f72a2
commit
f4da05eb05
@ -371,6 +371,13 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings,
|
||||
setHexagonImageSize(image)
|
||||
image.toBack()
|
||||
}
|
||||
|
||||
if (tileBaseImages.isEmpty()) { // Absolutely nothing! This is for the 'default' tileset
|
||||
val image = ImageGetter.getImage(tileSetStrings.hexagon)
|
||||
tileBaseImages.add(image)
|
||||
baseLayerGroup.addActor(image)
|
||||
setHexagonImageSize(image)
|
||||
}
|
||||
}
|
||||
|
||||
fun showMilitaryUnit(viewingCiv: CivilizationInfo) = showEntireMap
|
||||
|
Loading…
x
Reference in New Issue
Block a user