Files
Bubberstation/code/modules/surgery
SkyratBot f4c6ea2926 [MIRROR] Violent debraining no longer strands clients [MDB IGNORE] (#23378)
* Violent debraining no longer strands clients (#77959)

## About The Pull Request
Man this took me forever to diagnose.

Currently, when debraining a dismembered head, the brain doesn't
properly get its brainmob set. This both prevents the brain from being
usable even in MMI's, displaying a devoid of life message, and sends an
admin log that the brainmob was stranded.

This fixes both that and a nearby runtime that I encountered while
testing.
I believe introduced by #77339 when handle_atom_del's code was switched
to run whenever anything exited the head instead of just when deleted
## Why It's Good For The Game
Fix bugs! Stranded clients very bad
## Changelog
🆑
fix: Non-surgically debraining someone no longer makes their brain
unusuable
/🆑

* Violent debraining no longer strands clients

---------

Co-authored-by: FlufflesTheDog <piecopresident@gmail.com>
2023-08-28 01:55:04 -04:00
..