summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-11-15 22:08:40 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-11-15 22:08:40 +0100
commit45b85e7e6f3cfc1d3c5405506b595cb35b5c942c (patch)
tree9b031aa31dffd6ebde880a862c7c614f80ff48e1 /weapon/global.m4.conf
parentebbfea0ecadf6d6278464ce1010beedb42a555bf (diff)
ID as strings.
Diffstat (limited to 'weapon/global.m4.conf')
-rw-r--r--weapon/global.m4.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/weapon/global.m4.conf b/weapon/global.m4.conf
index 2bd8bcc..d70589c 100644
--- a/weapon/global.m4.conf
+++ b/weapon/global.m4.conf
@@ -7,10 +7,10 @@ m4_define(`__WEAPON_CHOOSE_STYLE',
m4_dnl
m4_dnl
m4_dnl
-m4_define(`__WEAPON_ERLANG_STYLE',`from_id (`$1') ->
+m4_define(`__WEAPON_ERLANG_STYLE',`from_id (<<"`$1'">>) ->
#weapon
{
- id = $1,
+ id = <<"$1">>,
name = <<"$2">>,
range_min = $3,
range_max = $4,
@@ -24,7 +24,7 @@ m4_dnl
m4_dnl
m4_define(`__WEAPON_JSON_STYLE',` {
"msg": "add_weapon",
- "id": $1,
+ "id": "$1",
"nam": "$2",
"rmi": $3,
"rma": $4,