fix(init): enable ignore_invalid for msgpack

Needed to prevent errors when packing glm polygons and such.
This commit is contained in:
Linden
2023-07-26 12:47:07 +10:00
parent 8f0a8b3c1d
commit 89b9016586

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
-----------------------------------------------------------------------------------------------