diff --git a/src/RealAntennasProject/RACommNetVessel.cs b/src/RealAntennasProject/RACommNetVessel.cs index 1be707c..322dab3 100644 --- a/src/RealAntennasProject/RACommNetVessel.cs +++ b/src/RealAntennasProject/RACommNetVessel.cs @@ -94,7 +94,7 @@ protected override void OnDestroy() base.OnDestroy(); comm?.Net.Remove(comm); comm = null; - vessel.connection = null; + if (vessel) vessel.connection = null; } protected override void UpdateComm()