diff --git a/QSB/ShipSync/Messages/FlyShipMessage.cs b/QSB/ShipSync/Messages/FlyShipMessage.cs index 1f55dd3e..4722b424 100644 --- a/QSB/ShipSync/Messages/FlyShipMessage.cs +++ b/QSB/ShipSync/Messages/FlyShipMessage.cs @@ -40,12 +40,12 @@ internal class FlyShipMessage : QSBMessage if (Data) { QSBPlayerManager.GetPlayer(From)?.AudioController?.PlayOneShot(AudioType.ShipCockpitBuckleUp); - shipCockpitController._interactVolume.DisableInteraction(); + shipCockpitController._interactVolume?.DisableInteraction(); } else { QSBPlayerManager.GetPlayer(From)?.AudioController?.PlayOneShot(AudioType.ShipCockpitUnbuckle); - shipCockpitController._interactVolume.EnableInteraction(); + shipCockpitController._interactVolume?.EnableInteraction(); } }