From 6494b74a45e27085fd81836f7b8c969431e8ff3c Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 26 Feb 2018 17:16:08 +0100 Subject: Got it to work, I think. --- src/struct/battlemap.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/struct/battlemap.erl') 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) }. -- cgit v1.2.3-70-g09d2