mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-11 06:40:39 +00:00
fix #590
This commit is contained in:
parent
cc18a3cf8f
commit
9b306b0867
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user