Fixed an issue where sometimes exporting a profile wouldn't work

This commit is contained in:
Tercio Jose
2021-03-15 14:43:03 -03:00
parent 089497782e
commit c6e17b199e
4 changed files with 8 additions and 6 deletions
-1
View File
@@ -328,7 +328,6 @@ end
--> copy from table2 to table1 overwriting values but do not copy data that cannot be compressed
function DF.table.copytocompress (t1, t2)
for key, value in pairs (t2) do
print (key, value)
if (key ~= "__index" and type(value) ~= "function") then
if (type (value) == "table") then
t1 [key] = t1 [key] or {}