summaryrefslogtreecommitdiff
path: root/weapon
diff options
context:
space:
mode:
Diffstat (limited to 'weapon')
-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,