summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/shared/battle-map')
-rw-r--r-- | src/shared/battle-map/BattleMap/Struct/Map.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/battle-map/BattleMap/Struct/Map.elm b/src/shared/battle-map/BattleMap/Struct/Map.elm index 3504f95..ed6c587 100644 --- a/src/shared/battle-map/BattleMap/Struct/Map.elm +++ b/src/shared/battle-map/BattleMap/Struct/Map.elm @@ -99,7 +99,7 @@ remove_marker marker_name map = content = (Set.foldl (\loc array -> - (Shared.Util.Array.update_unsafe + (Shared.Util.Array.update (location_to_index (BattleMap.Struct.Location.from_ref loc) map @@ -122,7 +122,7 @@ add_marker marker_name marker map = content = (Set.foldl (\loc array -> - (Shared.Util.Array.update_unsafe + (Shared.Util.Array.update (location_to_index (BattleMap.Struct.Location.from_ref loc) map |