summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-08-03 18:01:07 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-08-03 18:01:07 +0200
commitba6c56951f5843eddc11a7ee43993d1a4b357391 (patch)
tree8792ca76409ee93c5b7dfeb3d10233bf7c9fda28 /tile/pattern/global.m4.conf
parent61b6971817cba720ae6df74ef9cde8ab8797d3c6 (diff)
Got it to work and look okay. Only for map-editor.
Diffstat (limited to 'tile/pattern/global.m4.conf')
-rw-r--r--tile/pattern/global.m4.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/tile/pattern/global.m4.conf b/tile/pattern/global.m4.conf
index 3414359..5f787b1 100644
--- a/tile/pattern/global.m4.conf
+++ b/tile/pattern/global.m4.conf
@@ -6,9 +6,9 @@ m4_define(
m4_undefine(`$1')')m4_dnl
m4_define(`__TILE_PATTERN_JSON_STYLE',` {
"msg": "add_tile_pattern",
- "t": ["`$10'", "`$11'"],
- "tv": `$12',
- "p": ["`$1'", "`$2'", "`$3'", "`$4'", "`$6'", "`$7'", "`$8'", "`$9'"]
+ "v": `$10',
+ "w" : `$11',
+ "p": "`$1'`$2'`$3'`$4'`$6'`$7'`$8'`$9'"
},')m4_dnl
m4_define(`__TILE_PATTERN_CATEGORY',`m4_define(`__TILE_PATTERN_CATEGORY_NAME', `$1')')m4_dnl
m4_define(`__TILE_PATTERN_USE_JSON_STYLE',`__TILE_PATTERN_CHOOSE_STYLE(`__TILE_PATTERN_JSON_STYLE')')m4_dnl