Skip to content

Commit fb88b46

Browse files
authored
Fix #3118 : KOSVesselModule doesn't need to be created for unloaded vessels (#3122)
1 parent 6e9388f commit fb88b46

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/kOS/Module/kOSVesselModule.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ protected override void OnAwake()
5858
}
5959
}
6060

61+
public override Activation GetActivation()
62+
{
63+
return Activation.FlightScene | Activation.LoadedVessels;
64+
}
65+
6166
/// <summary>
6267
/// Start is called after OnEnable activates the module. This is the second method called by
6368
/// KSP after Awake. All parts should be added to the vessel now, so it is safe to walk the

0 commit comments

Comments
 (0)