Files
Aurora.3/code/datums
Victor 50d3341536 Fix devices shocking players repeatedly (#20325)
A fix for https://github.com/Aurorastation/Aurora.3/issues/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>
2025-01-04 00:02:31 +00:00
..
2024-07-28 20:52:08 +00:00
2024-12-29 11:12:09 +00:00
2024-07-26 10:55:32 +00:00
2024-12-24 12:42:53 +00:00
2024-11-26 20:18:43 +00:00
2024-11-06 17:10:10 +00:00
2024-12-24 12:42:53 +00:00
2024-12-29 11:12:09 +00:00
2024-07-27 19:00:57 +00:00
2024-12-24 16:04:51 +00:00