summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-26 17:16:08 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-26 17:16:08 +0100 |
commit | 6494b74a45e27085fd81836f7b8c969431e8ff3c (patch) | |
tree | e344a24fa2e9a2ee198314c0552c46b235072009 /src/struct/battlemap.erl | |
parent | fd4d031ab5b31763d376c663cc049f62ee389243 (diff) |
Got it to work, I think.
Diffstat (limited to 'src/struct/battlemap.erl')
-rw-r--r-- | src/struct/battlemap.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/struct/battlemap.erl b/src/struct/battlemap.erl index b999436..733f76c 100644 --- a/src/struct/battlemap.erl +++ b/src/struct/battlemap.erl @@ -68,5 +68,5 @@ random (ID, Width, Height) -> id = ID, width = Width, height = Height, - tile_ids = TileIDs + tile_ids = array:from_list(TileIDs) }. |