Replacing table.wipe with Details:Destroy()

This commit is contained in:
Tercio Jose
2023-05-22 15:31:29 -03:00
parent fa0d1e1d08
commit 0cdfa2b900
40 changed files with 1205 additions and 1322 deletions
+3 -3
View File
@@ -354,7 +354,7 @@
for key, value in pairs(_table) do
temptable [string.lower(key)] = value
end
temptable, _table = table.wipe(_table), temptable
temptable, _table = Details:Destroy(_table), temptable
return _table
end
@@ -526,7 +526,7 @@
return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right
end
wipe (_detalhes.ToKFunctions)
Details:Destroy (_detalhes.ToKFunctions)
tinsert(_detalhes.ToKFunctions, _detalhes.NoToK)
tinsert(_detalhes.ToKFunctions, _detalhes.ToK)
@@ -659,7 +659,7 @@
return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right
end
wipe (_detalhes.ToKFunctions)
Details:Destroy (_detalhes.ToKFunctions)
tinsert(_detalhes.ToKFunctions, _detalhes.NoToK)
tinsert(_detalhes.ToKFunctions, _detalhes.ToK)