mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Revert "Merge branch 'json' into Bleeding-Edge" (#14425)
This reverts commit24f7c0a960, reversing changes made toff9b9664ea.
This commit is contained in:
@@ -320,11 +320,11 @@
|
||||
var/list/json[0]
|
||||
for(var/datum/automation/A in automations)
|
||||
json += list(A.Export())
|
||||
return json_encode(json)
|
||||
return list2json(json)
|
||||
|
||||
/obj/machinery/computer/general_air_control/atmos_automation/proc/ReadCode(var/jsonStr)
|
||||
automations.len = 0
|
||||
var/list/json=json_decode(jsonStr)
|
||||
var/list/json=json2list(jsonStr)
|
||||
if(json && json.len > 0)
|
||||
for(var/list/cData in json)
|
||||
if(isnull(cData) || !("type" in cData))
|
||||
|
||||
Reference in New Issue
Block a user