diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-03-20 00:03:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-03-20 00:03:38 -0300 |
commit | de450795067227055d708fede6ab913b8f40db71 (patch) | |
tree | 420c74dcc83a0de0573056b5193893892bacb61e /npc/functions/util.txt | |
parent | 1d73ee5e1b5db3827ea89e7fd098f2d0300bafed (diff) | |
download | serverdata-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.txt | 2 |
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))) |