big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-22 14:44:51 +02:00
parent 57723491fb
commit 4369e8ad12
12 changed files with 96 additions and 96 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ module 'util'
function public.copy(t)
local copy = {}
for k, v in t do copy[k] = v end
setn(getn(t))
table.setn(t, getn(t))
return copy
end