| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-06-18 18:35:53 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-06-18 18:35:53 +0200 | 
| commit | b251f5165ea3530747657b522773c4a8f44b16fa (patch) | |
| tree | 68d830acec3fe8c171429ac903a16944ed31120c /src/battlemap/reply | |
| parent | a174bc2cc95b94c0b7d786e764c48de72206d7c5 (diff) | |
Separates tiles from their icon images IDs.
The client has yet to be updated to support the new exchanges.
Diffstat (limited to 'src/battlemap/reply')
| -rw-r--r-- | src/battlemap/reply/bm_set_map.erl | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/src/battlemap/reply/bm_set_map.erl b/src/battlemap/reply/bm_set_map.erl index 992581b..9989fa0 100644 --- a/src/battlemap/reply/bm_set_map.erl +++ b/src/battlemap/reply/bm_set_map.erl @@ -23,6 +23,9 @@ generate (Battlemap) ->           {<<"msg">>, <<"set_map">>},           {<<"w">>, bm_battlemap:get_width(Battlemap)},           {<<"h">>, bm_battlemap:get_height(Battlemap)}, -         {<<"t">>, array:sparse_to_list(bm_battlemap:get_tile_ids(Battlemap))} +         { +            <<"t">>, +            array:sparse_to_list(bm_battlemap:get_tile_class_ids(Battlemap)) +         }        ]     }.  | 


