summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-11-25 18:05:46 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-11-25 18:05:46 +0100
commit4094b24940779d298a3ff97525ac40deac093cab (patch)
tree43584afa8b22e571c4de0a0876381a1de7e96e06 /src/shared/battle-map/BattleMap/Struct/Map.elm
parenta2bac44a4c8abc064de55d0779edcb07aaa86e62 (diff)
...
Diffstat (limited to 'src/shared/battle-map/BattleMap/Struct/Map.elm')
-rw-r--r--src/shared/battle-map/BattleMap/Struct/Map.elm10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/shared/battle-map/BattleMap/Struct/Map.elm b/src/shared/battle-map/BattleMap/Struct/Map.elm
index 35b8a1f..1f254ac 100644
--- a/src/shared/battle-map/BattleMap/Struct/Map.elm
+++ b/src/shared/battle-map/BattleMap/Struct/Map.elm
@@ -169,16 +169,12 @@ try_getting_tile_at loc map =
then (Array.get (location_to_index loc map) map.content)
else Nothing
-solve_tiles : (
- (Dict.Dict BattleMap.Struct.Tile.Ref BattleMap.Struct.Tile.Type) ->
- Type ->
- Type
- )
-solve_tiles tiles map =
+solve_tiles : BattleMap.Struct.DataSet.Type -> Type -> Type
+solve_tiles dataset map =
{map |
content =
(Array.map
- (BattleMap.Struct.TileInstance.solve tiles) map.content
+ (BattleMap.Struct.TileInstance.solve dataset) map.content
)
}