From 9b72ed2f839d363874b8e3bf085c26eec034be84 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Wed, 12 Aug 2026 00:26:45 +0000 Subject: [PATCH] Fix IPC posibrain die() null transfer --- code/modules/organs/internal/species/machine/posibrain.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/organs/internal/species/machine/posibrain.dm b/code/modules/organs/internal/species/machine/posibrain.dm index bf1e8f715a0..8348a51eb8c 100644 --- a/code/modules/organs/internal/species/machine/posibrain.dm +++ b/code/modules/organs/internal/species/machine/posibrain.dm @@ -100,7 +100,8 @@ . = ..() to_chat(owner, SPAN_MACHINE_DANGER(FONT_LARGE("Your damage failsafes activate; your thought processes grind to a halt as your consciousness is cut off from the exterior world. No sensation or external input reaches you anymore."))) to_chat(owner, SPAN_DANGER(FONT_LARGE("You are now in an emergency low power mode, so that your posibrain can still survive despite your chassis being destroyed."))) - owner.mind.transfer_to(stored_mmi.brainmob) + if(owner.mind) + owner.mind.transfer_to(stored_mmi.brainmob) /** * Helper proc to add fragmentation.