Deleted 1 too many lines

This commit is contained in:
Kyle Spier-Swenson
2015-11-30 22:47:15 -08:00
parent 03f29f3b99
commit 6b8436558e
+1 -1
View File
@@ -2,7 +2,7 @@ json_writer/var/use_cache = 0
json_writer/proc/WriteObject(list/L)
if(use_cache && L["__json_cache"])
return L["__json_cache"]
var/i = 1
. = ""
for(var/k in L)
. += text("\"[]\":[][]", k, write(L[k]), (i++ < L.len ? "," : ""))