summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'elm/battlemap/src/Shim')
-rw-r--r--elm/battlemap/src/Shim/Battlemap/Tile.elm9
1 files changed, 2 insertions, 7 deletions
diff --git a/elm/battlemap/src/Shim/Battlemap/Tile.elm b/elm/battlemap/src/Shim/Battlemap/Tile.elm
index 4f5b40b..2335d3d 100644
--- a/elm/battlemap/src/Shim/Battlemap/Tile.elm
+++ b/elm/battlemap/src/Shim/Battlemap/Tile.elm
@@ -23,20 +23,15 @@ from_int map_width index i =
{
location = location,
floor_level = (i - 10),
- nav_level = Battlemap.Direction.None,
- char_level = (Just (toString (i - 10))),
- mod_level = Nothing
+ char_level = (Just (toString (i - 10)))
}
else
{
location = location,
floor_level = i,
- nav_level = Battlemap.Direction.None,
- char_level = Nothing,
- mod_level = Nothing
+ char_level = Nothing
}
-
generate : Int -> (Array.Array Battlemap.Tile.Type)
generate map_width =
let