Completed checkbox_query and rewrite of change_modules module with checkboxes
This commit is contained in:
1 parent
28a05c584c
commit
2989bd34bd
6 files changed
+195
-23
No files matched your search
@@ -7,7 +7,11 @@ function modpol.util.copy_table(t)
|
||||
local t2 = {}
|
||||
if pairs(t) then
|
||||
for k,v in pairs(t) do
|
||||
t2[k] = v
|
||||
if type(v) == "table" then
|
||||
t2[k] = modpol.util.copy_table(v)
|
||||
else
|
||||
t2[k] = v
|
||||
end
|
||||
end
|
||||
end
|
||||
return t2
|
||||
|
||||
Reference in new issue
Block a user