static List <IntVec3> PresortCells(List <IntVec3> cells, Map map, SlotGroup slotGroup) { List <IntVec3> extraCells = slotGroup.GetStorageInputCells(); if (extraCells != null) { List <IntVec3> copyCells = new List <IntVec3>(cells); foreach (var cell in extraCells) { copyCells.Insert(0, cell); } return(copyCells); } return(cells); }