mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
micro optimization, Cut() to len = 0
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
return list2json(json)
|
||||
|
||||
proc/ReadCode(var/jsonStr)
|
||||
automations.Cut()
|
||||
automations.len = 0
|
||||
var/list/json=json2list(jsonStr)
|
||||
if(json.len>0)
|
||||
for(var/list/cData in json)
|
||||
|
||||
Reference in New Issue
Block a user