summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-08-03 10:55:04 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-08-03 10:55:04 +0200
commit2590330a541a41a77c5d97badafa067e6525128b (patch)
tree09765f9d1de794835f5493f2e5b7127e9e01b35c /src/map-editor/src/Comm
parent8491cfd0974f0e12ad914b0cc618550b7fdfcb73 (diff)
Makes it a bit less ugly.
Diffstat (limited to 'src/map-editor/src/Comm')
-rw-r--r--src/map-editor/src/Comm/SetMap.elm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map-editor/src/Comm/SetMap.elm b/src/map-editor/src/Comm/SetMap.elm
index e74471d..452ab92 100644
--- a/src/map-editor/src/Comm/SetMap.elm
+++ b/src/map-editor/src/Comm/SetMap.elm
@@ -34,6 +34,7 @@ deserialize_tile_instance map_width index t =
type_id
0
Constants.Movement.cost_when_out_of_bounds
+ -1
)
[type_id, border_id, variant_ix] ->
@@ -44,6 +45,7 @@ deserialize_tile_instance map_width index t =
border_id
variant_ix
Constants.Movement.cost_when_out_of_bounds
+ -1
)
_ ->
@@ -54,6 +56,7 @@ deserialize_tile_instance map_width index t =
0
0
Constants.Movement.cost_when_out_of_bounds
+ -1
)
internal_decoder : MapData -> Struct.ServerReply.Type