public override double ChangePerDay(ProtoCrewMember pcm) { if (Core.IsInEditor) { return(IsEnabledInEditor() ? BaseChangePerDay : 0); } return((pcm.IsLoaded() && (pcm.GetVessel().Connection != null) && pcm.GetVessel().Connection.IsConnectedHome) ? BaseChangePerDay : 0); }