-
Notifications
You must be signed in to change notification settings - Fork 524
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]: Vending machines and airolcks will repeatedly shock you and can shock you from range. #18219
Comments
This is still an issue. It also happens with doors. Needs to be fixed. PLS. |
still a BAD issue |
STIIILL a bad issue |
Still happening. My character just got both hands vaporized trying to hack into a first-aid vendor. Oh, the irony. |
A fix for #18219 Thanks to mattatlas for figuring out the actual cause - `/datum/wires/suit_storage_unit/interactable` proc was called every tick when TGUI window for that element was opened, and it had code that checked for `isElectrified()`, leading to repeated shocks. Removal should resolve the issue, actual .shock() calls are happening when appropriate - in `/datum/wires/<MACHINE>/on_pulse(wire)` when interacting with wiring, or in `<MACHINE>.dm` itself when processing interactions. Could not do full testing due to a lack of experience with the game and tooling, but no issues were encountered with what was done. --------- Co-authored-by: color <color@WINEWEASEL>
#20325 was merged, should be all fixed now. Unless it blows up in some new and exciting fashion. |
Checks
Location
Horizon
Describe the issue
Triggering the electrocution state of a vending machine will not just shock you once, but will repeatedly shock you regardless of whether you click the vending machine multiple times. Walking away from the vending machine while it shocks you achieves nothing as it will continue to shock you from range.
First noticed the issue 2-3 weeks ago though never saved the round ID.
How to reproduce
Forget to wear insulated gloves.
Open up a vending machine with a screwdriver.
Snip each wire until you find the one which shocks you.
Walk away from the vending machine while you are getting shocked.
Round ID
crM-b2s4
Staff ckey
No response
The text was updated successfully, but these errors were encountered: