示例#1
0
 void CheckGridCokpit(MyCubeGrid grid)
 {
     if (HasCockpit(grid) == false)
     {
         if (grid.IsMainCockpit(this) && CubeGrid != grid)
         {
             grid.SetMainCockpit(null);
         }
     }
 }