Map editor should no longer crash in scenarios

This commit is contained in:
Yair Morgenstern 2020-07-31 15:33:27 +03:00
parent 2d3daa8c3b
commit 28f51a2050

View File

@ -66,7 +66,7 @@ class EditorMapHolder(internal val mapEditorScreen: MapEditorScreen, internal va
fun setTransients() {
for (tileInfo in tileGroups.keys)
tileInfo.setTransients()
tileInfo.setTerrainTransients()
}
fun getClosestTileTo(stageCoords: Vector2): TileInfo? {