shanemadden / factorio-power-grid-comb

MIT License
9 stars 4 forks source link

Bug: Comb clears wires connected to power switch #7

Open jebob opened 3 years ago

jebob commented 3 years ago

Running the comb on a power switch connected to two electric poles clears the wires. Tested on v1.1.6, all

Before

image

Before blueprint string

0eNqVkd1uwjAMhd/F1+nUBFghtzzGNE3QWsxS86P8rKuqvDtJ0BAMbrizo+PP5zgLHMeI1pEOIBeg3mgP8mMBTyd9GMtbmC2CBAqogIE+qNJZM6Fr/ESh/4bEgPSAvyB5+mSAOlAgvHBqM3/pqI7osuBKUDhQVA2O2AdHfWPNiJlvjc/DRpfNBcjfNgxmkJv3XKXEHojiuadH0vaPk+3mmDrvpZp2gX1sb83SUI1O5LDWbUm1j/y/ZnWveeZu9WJesb7PmxfXw8ubf2Lwg87XGbHl624nOtF2nHcipTNJNZhn

After

image

jebob commented 3 years ago

Options I see:

shanemadden commented 3 years ago

Yeah, I think probably adding a special case to reconnect them in the same exact layout as they were before (in the same way the mod does now with circuit wires) will be the best way to fix it. I'll plan on digging around and see how tricky that will be to do.