From 2e2caf6cc7df607686bbd8304ef23f62cf716939 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 24 May 2020 16:09:10 +0200 Subject: ... --- src/shared/battle-map/BattleMap/Struct/Map.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/battle-map/BattleMap/Struct') 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 -- cgit v1.2.3-70-g09d2