mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 06:35:45 +00:00
change to root
This commit is contained in:
parent
363b1e38c6
commit
65a1a04575
@ -37,7 +37,7 @@ namespace QSB.TransformSync
|
||||
|
||||
protected void Init()
|
||||
{
|
||||
ReferenceTransform = Locator.GetPlayerBody().GetComponent<PlayerSpawner>().GetInitialSpawnPoint().transform;
|
||||
ReferenceTransform = Locator.GetPlayerBody().GetComponent<PlayerSpawner>().GetInitialSpawnPoint().transform.root;
|
||||
SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform();
|
||||
if (!hasAuthority)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user