From 824fb128f756a40d354150043b49e8885a3f6d4d Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 23 Aug 2022 17:32:37 -0700 Subject: [PATCH] remove TODO (i tested it) --- QSB/EchoesOfTheEye/RaftSync/TransformSync/RaftTransformSync.cs | 2 +- QSB/ShipSync/TransformSync/ShipTransformSync.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/EchoesOfTheEye/RaftSync/TransformSync/RaftTransformSync.cs b/QSB/EchoesOfTheEye/RaftSync/TransformSync/RaftTransformSync.cs index fa04c983..6a3b0b76 100644 --- a/QSB/EchoesOfTheEye/RaftSync/TransformSync/RaftTransformSync.cs +++ b/QSB/EchoesOfTheEye/RaftSync/TransformSync/RaftTransformSync.cs @@ -10,7 +10,7 @@ namespace QSB.EchoesOfTheEye.RaftSync.TransformSync; public class RaftTransformSync : UnsectoredRigidbodySync, ILinkedNetworkBehaviour { - protected override bool UseInterpolation => Locator.GetPlayerController().GetGroundBody() != AttachedRigidbody; /*TODO: test that this doesnt NRE*/ + protected override bool UseInterpolation => Locator.GetPlayerController().GetGroundBody() != AttachedRigidbody; private float _lastSetPositionTime; private const float ForcePositionAfterTime = 1; diff --git a/QSB/ShipSync/TransformSync/ShipTransformSync.cs b/QSB/ShipSync/TransformSync/ShipTransformSync.cs index 4917405c..9fdca404 100644 --- a/QSB/ShipSync/TransformSync/ShipTransformSync.cs +++ b/QSB/ShipSync/TransformSync/ShipTransformSync.cs @@ -98,5 +98,5 @@ public class ShipTransformSync : SectoredRigidbodySync rigidbody._currentVelocity = newVelocity; } - protected override bool UseInterpolation => !PlayerState.IsInsideShip(); /*TODO: test that this doesnt NRE*/ + protected override bool UseInterpolation => !PlayerState.IsInsideShip(); }