fix(init): enable ignore_invalid for msgpack

Needed to prevent errors when packing glm polygons and such.
This commit is contained in:
Linden committed 2023-07-26 12:47:07 +10:00
1 parent 8f0a8b3c1d
commit 89b9016586
1 file changed
+3
+3
View File
@@ -17,6 +17,9 @@ local status = export.hasLoaded()
if status ~= true then error(status, 2) end
-- Ignore invalid types during msgpack.pack (e.g. userdata)
msgpack.setoption('ignore_invalid', true)
-----------------------------------------------------------------------------------------------
-- Module
-----------------------------------------------------------------------------------------------