update replicated components
This commit is contained in:
parent
0a614cdd12
commit
8e79027911
1 changed files with 4 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue