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