Open zxcvbnm3057 opened 10 months ago
Belts connected to transport station cannot just remove with set factory.entityPool[entityId].beltId = 0; on https://github.com/kremnev8/DSP-Mods/blob/14cc3f72899063227655c839824cdf99c869198f/Mods/BlueprintTweaks/DragRemove/FastRemoveHelper.cs#L447 .
factory.entityPool[entityId].beltId = 0;
It need to reset specific StationComponents.SlotData too. Otherwise, the logistics station will output to an unconnected belt after belt id recycled.
StationComponents.SlotData
Please check StationComponent.UpdateOutputSlots and PlanetFactory.ApplyEntityDisconnection for more information and fix it.
StationComponent.UpdateOutputSlots
PlanetFactory.ApplyEntityDisconnection
There are some screen recorde but they are all too big for issue upload. Please leave an email address if you need that.
Belts connected to transport station cannot just remove with set
factory.entityPool[entityId].beltId = 0;
on https://github.com/kremnev8/DSP-Mods/blob/14cc3f72899063227655c839824cdf99c869198f/Mods/BlueprintTweaks/DragRemove/FastRemoveHelper.cs#L447 .It need to reset specific
StationComponents.SlotData
too. Otherwise, the logistics station will output to an unconnected belt after belt id recycled.Please check
StationComponent.UpdateOutputSlots
andPlanetFactory.ApplyEntityDisconnection
for more information and fix it.