[S] Fixes an oversight for a different exploit fix (#25041)

* Moves it up to where it should be

* Put the first part back
This commit is contained in:
BiancaWilkson
2024-04-07 16:02:10 -05:00
committed by GitHub
parent cb691a0bb5
commit a50dc50849
2 changed files with 6 additions and 6 deletions
+1 -6
View File
@@ -14,6 +14,7 @@
if(self_message)
to_chat(user, self_message)
// So, brains can't really see their own emotes so we'll probably just want to send an extra message
/datum/emote/living/brain/can_run_emote(mob/user, status_check, intentional)
. = ..()
@@ -25,12 +26,6 @@
if(!(B.container && istype(B.container, /obj/item/mmi))) // No MMI, no emotes
return FALSE
if(istype(B.container, /obj/item/mmi/robotic_brain)) //Robobrains can't be silenced and still emote
var/obj/item/mmi/robotic_brain/robobrain = B.container
return !robobrain.silenced
// So, brains can't really see their own emotes so we'll probably just want to send an extra message
/datum/emote/living/brain/alarm
key = "alarm"
key_third_person = "alarms"