mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
remove timber hearth set
This commit is contained in:
parent
7cc033ec8a
commit
68f3cf6dbf
@ -37,11 +37,10 @@ namespace QSB.TransformSync
|
|||||||
|
|
||||||
protected void Init()
|
protected void Init()
|
||||||
{
|
{
|
||||||
ReferenceTransform = Locator.GetAstroObject(AstroObject.Name.TimberHearth).transform;
|
|
||||||
SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform();
|
SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform();
|
||||||
if (!hasAuthority)
|
if (!hasAuthority)
|
||||||
{
|
{
|
||||||
SyncedTransform.position = ReferenceTransform.position;
|
SyncedTransform.position = Locator.GetRootTransform().position;
|
||||||
}
|
}
|
||||||
_isInitialized = true;
|
_isInitialized = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user