remove timber hearth set

This commit is contained in:
Mister_Nebula 2020-08-14 11:20:14 +01:00
parent 7cc033ec8a
commit 68f3cf6dbf

View File

@ -37,11 +37,10 @@ namespace QSB.TransformSync
protected void Init()
{
ReferenceTransform = Locator.GetAstroObject(AstroObject.Name.TimberHearth).transform;
SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform();
if (!hasAuthority)
{
SyncedTransform.position = ReferenceTransform.position;
SyncedTransform.position = Locator.GetRootTransform().position;
}
_isInitialized = true;
}