summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-20 00:03:38 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-20 00:03:38 -0300
commitde450795067227055d708fede6ab913b8f40db71 (patch)
tree420c74dcc83a0de0573056b5193893892bacb61e /npc/functions/util.txt
parent1d73ee5e1b5db3827ea89e7fd098f2d0300bafed (diff)
downloadserverdata-de450795067227055d708fede6ab913b8f40db71.tar.gz
serverdata-de450795067227055d708fede6ab913b8f40db71.tar.bz2
serverdata-de450795067227055d708fede6ab913b8f40db71.tar.xz
serverdata-de450795067227055d708fede6ab913b8f40db71.zip
JSON syntax typo
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
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)))