update replicated components

This commit is contained in:
Reid 2023-07-25 01:22:58 -07:00
parent 0a614cdd12
commit 8e79027911

View file

@ -6,7 +6,10 @@ import { getEvent } from "ReplicatedStorage/remotes"
type ComponentName = keyof typeof Components
type ComponentConstructor = (typeof Components)[ComponentName]
const REPLICATED_COMPONENT_NAMES: readonly ComponentName[] = ["Model", "Health"]
const REPLICATED_COMPONENT_NAMES: readonly ComponentName[] = [
"Model",
"Transform"
]
const replicatedComponents: ReadonlySet<ComponentConstructor> = REPLICATED_COMPONENT_NAMES.reduce(
(set: Set<ComponentConstructor>, name: ComponentName) => {