From 8939d210143f9245992ceddceba1cb00e55f85cc Mon Sep 17 00:00:00 2001 From: Mechoid Date: Thu, 19 Oct 2017 11:59:06 -0700 Subject: [PATCH] Stops MMIs created with a ghosted brain from being put into cyborgs. (#4110) * Stops MMIs created with a ghosted brain from being put into cyborgs. * Fixes a typo and wording. --- code/game/objects/items/robot/robot_parts.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm index f113e5f153..9a56cf94a7 100644 --- a/code/game/objects/items/robot/robot_parts.dm +++ b/code/game/objects/items/robot/robot_parts.dm @@ -177,8 +177,9 @@ if(M.brainmob.mind) for(var/mob/observer/dead/G in player_list) if(G.can_reenter_corpse && G.mind == M.brainmob.mind) - ghost_can_reenter = 1 - break + ghost_can_reenter = 1 //May come in use again at another point. + to_chat(user, "\The [W] is completely unresponsive; though it may be able to auto-resuscitate.") //Jamming a ghosted brain into a borg is likely detrimental, and may result in some problems. + return if(!ghost_can_reenter) user << "\The [W] is completely unresponsive; there's no point." return