Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Comb clears wires connected to power switch #7

Open
jebob opened this issue Dec 27, 2020 · 2 comments
Open

Bug: Comb clears wires connected to power switch #7

jebob opened this issue Dec 27, 2020 · 2 comments

Comments

@jebob
Copy link

jebob commented Dec 27, 2020

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
Copy link
Author

jebob commented Dec 27, 2020

Options I see:

  • Do not destroy & recreate any poles attached to a power switch
  • When we recreate the poles, also recreate the power switch connection

@shanemadden
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants