From 28f51a20502b973618190cd10ec1bd6cd8de991b Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 31 Jul 2020 15:33:27 +0300 Subject: [PATCH] Map editor should no longer crash in scenarios --- core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt b/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt index f1740e5274..82626fa6b9 100644 --- a/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt +++ b/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt @@ -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? {