Port's TG's Maploader

This commit is contained in:
Neerti
2017-09-08 08:14:43 -04:00
parent 9ce3c85127
commit 1bc28c07c0
32 changed files with 1472 additions and 444 deletions

View File

@@ -662,3 +662,13 @@ proc/dd_sortedTextList(list/incoming)
L.Swap(start++,end--)
return L
//Copies a list, and all lists inside it recusively
//Does not copy any other reference type
/proc/deepCopyList(list/l)
if(!islist(l))
return l
. = l.Copy()
for(var/i = 1 to l.len)
if(islist(.[i]))
.[i] = .(.[i])