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.
This commit is contained in:
Mechoid
2017-10-19 11:59:06 -07:00
committed by Anewbe
parent aacb9d4c04
commit 8939d21014

View File

@@ -177,8 +177,9 @@
if(M.brainmob.mind) if(M.brainmob.mind)
for(var/mob/observer/dead/G in player_list) for(var/mob/observer/dead/G in player_list)
if(G.can_reenter_corpse && G.mind == M.brainmob.mind) if(G.can_reenter_corpse && G.mind == M.brainmob.mind)
ghost_can_reenter = 1 ghost_can_reenter = 1 //May come in use again at another point.
break to_chat(user, "<span class='notice'>\The [W] is completely unresponsive; though it may be able to auto-resuscitate.</span>") //Jamming a ghosted brain into a borg is likely detrimental, and may result in some problems.
return
if(!ghost_can_reenter) if(!ghost_can_reenter)
user << "<span class='notice'>\The [W] is completely unresponsive; there's no point.</span>" user << "<span class='notice'>\The [W] is completely unresponsive; there's no point.</span>"
return return