From 8e79027911c4423dbe19abf9816f525f72201eb3 Mon Sep 17 00:00:00 2001 From: reidlab Date: Tue, 25 Jul 2023 01:22:58 -0700 Subject: [PATCH] update replicated components --- src/ServerScriptService/ecs/systems/server/replication.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ServerScriptService/ecs/systems/server/replication.ts b/src/ServerScriptService/ecs/systems/server/replication.ts index 61edbcf..23db406 100644 --- a/src/ServerScriptService/ecs/systems/server/replication.ts +++ b/src/ServerScriptService/ecs/systems/server/replication.ts @@ -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 = REPLICATED_COMPONENT_NAMES.reduce( (set: Set, name: ComponentName) => {