mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
fix: allow userdata values for sync
This commit is contained in:
parent
0c6241c542
commit
9329e68a08
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
local store = require(script.Parent.Parent.store)
|
local store = require(script.Parent.Parent.store)
|
||||||
|
|
||||||
local SAFE_KEYS = { string = true, number = true }
|
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 function isUnsafeTable(object: { [any]: any })
|
||||||
local keyType = nil
|
local keyType = nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue