refactor: simplify charm sync validation

This commit is contained in:
littensy 2025-11-04 22:30:10 -08:00
parent 7bb6edb403
commit dffeb35933
7 changed files with 48 additions and 74 deletions

View file

@ -13,8 +13,8 @@ return {
--- This option should be disabled if your network library uses a custom
--- serialization method (i.e. Zap, ByteNet) to prevent interference.
fixArrays = true,
--- When `true`, patches will be validated before being sent to clients to
--- enforce remote event limitations. Only checked in strict mode and if
--- When `true`, synced state containing unsafe sparse arrays or mixed
--- tables will throw an error. Only checked in strict mode and if
--- `fixArrays` is enabled. Defaults to `true`.
validatePatches = true,
}