From de450795067227055d708fede6ab913b8f40db71 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 20 Mar 2020 00:03:38 -0300 Subject: JSON syntax typo --- npc/functions/util.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 82611a561..ccc48a06d 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -967,7 +967,7 @@ function script json_encode { .@json+=","; // Input variable name - .@json+=getarg(.@i)+": "; + .@json+="\""+getarg(.@i)+"\": "; // Input variable value if (isstr(getarg(.@i+1))) -- cgit v1.2.3-60-g2f50