Toggle menu
505
2.3K
828
21.8K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Utilities: Difference between revisions

From Deadlock Wiki
Sur (talk | contribs)
m deep_copy no longer local
Sur (talk | contribs)
m allow external calls
Line 87: Line 87:
--Creates a deepCopy of a table
--Creates a deepCopy of a table
function deep_copy(orig)
function p.deep_copy(orig)
     local orig_type = type(orig)
     local orig_type = type(orig)
     local copy
     local copy