From 45b85e7e6f3cfc1d3c5405506b595cb35b5c942c Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 15 Nov 2018 22:08:40 +0100 Subject: ID as strings. --- weapon/global.m4.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'weapon') 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, -- cgit v1.2.3-70-g09d2