Replaces in-script json encoder/decoder with the native 510 procs

This commit is contained in:
Tastyfish
2016-04-30 19:15:07 -04:00
parent 5a7361f385
commit 646fb39f2d
12 changed files with 12 additions and 309 deletions
+1 -4
View File
@@ -222,10 +222,7 @@ var/global/loopModeNames=list(
stat &= BROKEN
update_icon()
return
var/json_reader/reader = new()
reader.tokens = reader.ScanJson(json)
reader.i = 1
var/songdata = reader.read_value()
var/songdata = json_decode(json)
for(var/list/record in songdata)
playlist += new /datum/song_info(record)
if(playlist.len==0)