From a132188ccc244a6d802bd1c32fbf196d4cb53cbd Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 12 Jul 2018 17:48:41 +0200 Subject: Got it to load the map (full of "error" tiles). --- src/map/map_shim.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map_shim.erl') diff --git a/src/map/map_shim.erl b/src/map/map_shim.erl index 08034e4..ef23027 100644 --- a/src/map/map_shim.erl +++ b/src/map/map_shim.erl @@ -54,6 +54,6 @@ demo_map () -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -spec generate_random_map () -> map_map:type(). generate_random_map () -> - Map = map_map:from_list(<<"0">>, <<"0">>, 32, 32, demo_map()), + Map = map_map:from_list(0, <<"0">>, 32, 32, demo_map()), Map. -- cgit v1.2.3-70-g09d2