Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix jumper cable not working without bio_cable CBM #33947
SUMMARY: Bugfixes "Fix jumper cable not working for players without the cable charger CBM"
Purpose of change
It was impossible to do anything but detach a jumper cable from a vehicle once you had attached it if you did not have the cable charger CBM.
Describe the solution
Move the menu entry for attaching a cable from the block that appears when you only have a cable charger CBM to above that.
Describe alternatives you've considered
There seems to be some other odd behavior with the cable charger CBM and jumper cables, but none of it seems to impact functionality. I considered fixing it, but decided that was out of the scope of this PR.
Tested by spawning in a jumper cable and two vehicles. I was able to attach it to the first vehicle and then the second with this change applied, but without I was unable to do anything but detach it after attaching it to one vehicle.
I then debug installed the cable charger CBM and verified that I could still attach the jumper cable to both vehicles with that, which I was able to do.
Summary appears to have failed because I put a period after it - whoops!
This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: