Do not try to serialize metatables for class instances

This commit is contained in:
Jasmijn Wellner 2020-12-26 15:15:53 +01:00
parent f6e78d0c2a
commit c08f169e91

View File

@ -221,7 +221,7 @@ local function write_table(value, seen)
serialize_value(v, seen)
end
end
if metatable then
if metatable and not classname then
serialize_value(metatable, seen)
end
end