allow import of values not in db... will be ignored anyways

This commit is contained in:
Sumsebrum 2021-07-26 17:34:36 +02:00
parent d44ac29f43
commit 9b8c6a1426

View File

@ -100,7 +100,7 @@ function ExportImport:CheckDeserializedOptions(tbl, refTbl, str)
end
for k,v in pairs(tbl) do
if refTbl[k] == nil then
return false, str .. "." .. k .. " does not exist"
--return false, str .. "." .. k .. " does not exist"
else
if type(v) ~= type(refTbl[k]) then
return false, str .. "." .. k .. " type error. Expected " .. type(refTbl[k]) .. " found " .. type(v)