? thing again

This commit is contained in:
Aleksander Waage 2020-08-14 20:08:57 +02:00
parent 8ba67064dd
commit 29171145cf

View File

@ -38,7 +38,9 @@ namespace QSB.TransformSync
protected void Init()
{
ReferenceTransform = LoadManager.GetCurrentScene() == OWScene.SolarSystem ? Locator.GetAstroObject(AstroObject.Name.TimberHearth).transform : Locator.GetAstroObject(AstroObject.Name.Eye).transform;
ReferenceTransform = LoadManager.GetCurrentScene() == OWScene.SolarSystem
? Locator.GetAstroObject(AstroObject.Name.TimberHearth).transform
: Locator.GetAstroObject(AstroObject.Name.Eye).transform;
SyncedTransform = hasAuthority ? InitLocalTransform() : InitRemoteTransform();
if (!hasAuthority)
{