Files
Bubberstation/code/modules/power
SkyratBot 05378f6034 [MIRROR] SM Zap: Fix forked target selection [MDB IGNORE] (#8869)
* SM Zap: Fix forked target selection (#62143)

Supermatter forked lightning can now hit targets previously used by a sibling.

The default setup - and anything using two grounding rods - was still entirely safe, as "pass by ref begone" code did allow target reuse in ancestors. Any split could only exclude one grounding rod, and if one branch split again, neither branch's targets would be passed back to the target list of the first split.

The same issue was not present in `proc/tesla_zap`. Probably still shouldn't have two of these, though.

* SM Zap: Fix forked target selection

Co-authored-by: esainane <esainane+github@gmail.com>
2021-10-16 20:37:49 -04:00
..