Added change_modules mod and lots of bugfixes. Now merging to master.

This commit is contained in:
Nathan Schneider
2021-12-19 23:23:23 -07:00
parent 1d6d0f21e2
commit 2365eb83d0
9 changed files with 219 additions and 18 deletions

View File

@ -0,0 +1,9 @@
--- @function modpol.copy_table
-- Returns a copy of the table inputted
function modpol.copy_table(t)
local t2 = {}
for k,v in pairs(t) do
t2[k] = v
end
return t2
end