summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-02-24 21:33:47 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-02-24 21:33:47 +0100
commitef693352acedaf00cc1b216d85cd08d32a7ae265 (patch)
treeaedcf952743f0af1ce02431709b2012a107f8a8f /src/reply/set_map.erl
parent114dc835cb90a82bde298367df7848499a73dc1c (diff)
...
Diffstat (limited to 'src/reply/set_map.erl')
-rw-r--r--src/reply/set_map.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reply/set_map.erl b/src/reply/set_map.erl
index 7def653..ba1ddbb 100644
--- a/src/reply/set_map.erl
+++ b/src/reply/set_map.erl
@@ -17,9 +17,9 @@ encode (Battlemap) ->
(
{
[
- {<<"width">>, battlemap:get_width(Battlemap)},
- {<<"height">>, battlemap:get_height(Battlemap)},
- {<<"content">>, battlemap:list_tiles(Battlemap)}
+ {<<"w">>, battlemap:get_width(Battlemap)},
+ {<<"h">>, battlemap:get_height(Battlemap)},
+ {<<"t">>, array:to_list(battlemap:list_tiles(Battlemap))}
]
}
).