示例#1
0
 /// <summary>
 /// Loads/Reloads a vessel into game
 /// </summary>
 public static bool LoadVessel(ProtoVessel vesselProto, bool forceReload)
 {
     try
     {
         return(vesselProto.Validate() && LoadVesselIntoGame(vesselProto, forceReload));
     }
     catch (Exception e)
     {
         LunaLog.LogError($"[LMP]: Error loading vessel: {e}");
         return(false);
     }
 }