Skip to content

Commit

Permalink
Fix remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio committed Aug 29, 2024
1 parent 8bb8676 commit 5cade93
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ local ref = std.ref
local world = std.world

local cts = std.components
local UpdateTransforms = ReplicatedStorage:WaitForChild("UpdateTransforms") :: RemoteEvent
local collect = std.collect
local stream = collect(UpdateTransforms.OnClientEvent)

local function syncTransforms()
for _, id, cf in stream do
for _, id, cf in blink.UpdateTransform.Iter() do
local e = ref("server-"..id)
local transform = e:get(cts.Transform)
if not transform then
Expand Down

0 comments on commit 5cade93

Please sign in to comment.