fix: allow userdata values for sync

This commit is contained in:
Richard 2024-09-15 18:16:59 -07:00
parent 0c6241c542
commit 9329e68a08

View file

@ -1,7 +1,7 @@
local store = require(script.Parent.Parent.store)
local SAFE_KEYS = { string = true, number = true }
local SAFE_VALUES = { string = true, number = true, boolean = true, table = true }
local SAFE_VALUES = { string = true, number = true, boolean = true, table = true, userdata = true }
local function isUnsafeTable(object: { [any]: any })
local keyType = nil