diff options
Diffstat (limited to 'npc')
-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))) |