summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-10-11 19:39:57 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-10-11 19:39:57 +0200
commit5c0bba1f2629bf874df2a5253405e0d02f998ec9 (patch)
tree6887b58744325909e6b789adf64a3981972465f2 /src/map
parentaea6e1872eeccffdef926b6561767ff59aecf87e (diff)
Fixes map addition.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/struct/map_map.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/map/struct/map_map.erl b/src/map/struct/map_map.erl
index 0e9474b..cc30645 100644
--- a/src/map/struct/map_map.erl
+++ b/src/map/struct/map_map.erl
@@ -147,12 +147,5 @@ default (Owner) ->
width = 32,
height = 32,
tile_instances =
- array:new
- (
- [
- {size, 1024},
- {default, DefaultTileInstance},
- {fixed, true}
- ]
- )
+ array:from_list(lists:duplicate(1024, DefaultTileInstance))
}.