public void CutGroup(MyCubeGrid grid, GridLinkTypeEnum groupType) { if (grid == null) return; CopyGroup(grid, groupType); if (MyFakes.ENABLE_COPY_GROUP) { var group = MyCubeGridGroups.Static.GetGroups(groupType).GetGroupNodes(grid); foreach (var node in group) { node.SendGridCloseRequest(); } } else { grid.SendGridCloseRequest(); } }
public void CutGrid(MyCubeGrid grid) { if (grid == null) return; CopyGrid(grid); grid.SendGridCloseRequest(); }