This commit is contained in:
_nebula 2023-01-13 22:13:11 +00:00
parent cc18a3cf8f
commit 9b306b0867

View File

@ -21,6 +21,17 @@ public class ShipThrusterVariableSyncer : NetworkBehaviour
public void Update()
{
// bug : this doesn't account for autopilot
if (ShipManager.Instance.CurrentFlyer == uint.MaxValue)
{
if (_thrusterModel)
{
AccelerationSyncer.Value = Vector3.zero;
}
return;
}
if (PlayerTransformSync.LocalInstance && QSBPlayerManager.LocalPlayer.FlyingShip)
{
GetFromShip();