summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/map/struct/map_map.erl')
-rw-r--r-- | src/map/struct/map_map.erl | 9 |
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)) }. |