Posibrain Fixes (#22196)

closes #21982
closes #21705

<img width="465" height="394" alt="image"
src="https://github.com/user-attachments/assets/6ae35510-73c5-46e8-b624-a83e71dca603"
/>

This PR fixes the longstanding IPC med rework bug whereby surgically
removing a posibrain would just delete it. Also fixes a bug where it
wasn't possible to join as a posibrain ghost role.
This commit is contained in:
VMSolidus
2026-04-11 12:10:16 +00:00
committed by GitHub
parent d3fdea4b99
commit 86bf8c1f8b
3 changed files with 7 additions and 1 deletions
@@ -57,7 +57,7 @@
brainmob.client.init_verbs()
return src
return brainmob
/obj/item/mmi/digital/posibrain/update_name()
var/new_name = tgui_input_text(brainmob, "Choose your name.", "Name Selection", brainmob.real_name, MAX_NAME_LEN)
@@ -140,6 +140,7 @@
stored_mmi.forceMove(get_turf(src))
if(owner.mind)
owner.mind.transfer_to(stored_mmi.brainmob)
stored_mmi = null
. = ..()