From 868e32acb53c1bcbce9e52ed4b2dec41f1f23f7d Mon Sep 17 00:00:00 2001 From: Tkdrg Date: Fri, 1 Jan 2016 12:50:59 -0300 Subject: [PATCH] Fixes posibrain feedback message Fixes #14245 --- code/modules/mob/living/carbon/brain/posibrain.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/brain/posibrain.dm b/code/modules/mob/living/carbon/brain/posibrain.dm index 27d29ef4e50..40727647cd7 100644 --- a/code/modules/mob/living/carbon/brain/posibrain.dm +++ b/code/modules/mob/living/carbon/brain/posibrain.dm @@ -39,7 +39,10 @@ var/global/posibrain_notif_cooldown = 0 spawn(askDelay) //Seperate from the global cooldown. notified = 0 update_icon() - visible_message("The positronic brain buzzes quietly, and the golden lights fade away. Perhaps you could try again?") + if(brainmob.stat == CONSCIOUS && brainmob.client) + visible_message("The positronic brain pings, and its lights start flashing. Success!") + else + visible_message("The positronic brain buzzes quietly, and the golden lights fade away. Perhaps you could try again?") return //Code for deleting personalities recommended here. @@ -127,7 +130,6 @@ var/global/posibrain_notif_cooldown = 0 return /obj/item/device/mmi/posibrain/New() - brainmob = new(src) brainmob.name = "[pick(list("PBU","HIU","SINA","ARMA","OSI","HBL","MSO","RR","CHRI","CDB","HG","XSI","ORNG","GUN","KOR","MET","FRE","XIS","SLI","PKP","HOG","RZH","GOOF","MRPR","JJR","FIRC","INC","PHL","BGB","ANTR","MIW","WJ","JRD","CHOC","ANCL","JLLO","ANNS","KOS","TKRG","XAL","STLP","CBOS","DNCN","FXMC","DRSD"))]-[rand(100, 999)]" brainmob.real_name = brainmob.name @@ -137,7 +139,6 @@ var/global/posibrain_notif_cooldown = 0 brainmob.silent = 0 dead_mob_list -= brainmob ping_ghosts("created") - ..()