From 629ca73dcfc3c4fa0758ae6a998017ce068844d7 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:22:51 +0100 Subject: [PATCH] fix --- QSB/TransformSync/TransformSync.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/QSB/TransformSync/TransformSync.cs b/QSB/TransformSync/TransformSync.cs index 63428ae7..c288a2b3 100644 --- a/QSB/TransformSync/TransformSync.cs +++ b/QSB/TransformSync/TransformSync.cs @@ -37,10 +37,11 @@ namespace QSB.TransformSync protected void Init() { + ReferenceTransform = Locator.GetCenterOfTheUniverse().GetStaticReferenceFrame().transform; SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform(); if (!hasAuthority) { - SyncedTransform.position = Locator.GetRootTransform().position; + SyncedTransform.position = ReferenceTransform.position; } _isInitialized = true; }