private void OnVesselGoOffRails(Vessel vess)
{
if (FixedAttach.createJointOnUnpack
&& (vess == FixedAttach.srcPart.vessel || vess == FixedAttach.tgtPart.vessel)) {
KAS_Shared.DebugWarning(
"OnUpdate(Core) Fixed attach set and both part unpacked, creating fixed joint...");
AttachFixed(FixedAttach.srcPart, FixedAttach.tgtPart, FixedAttach.savedBreakForce);
SetCreateJointOnUnpack(false);
}
}