mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Replaces in-script json encoder/decoder with the native 510 procs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user