Revert "12/21 modernizations from TG live"
This commit is contained in:
@@ -6,13 +6,25 @@
|
||||
|
||||
log_say("Ghost/[src.key] : [message]")
|
||||
|
||||
if(jobban_isbanned(src, "OOC"))
|
||||
src << "<span class='danger'>You have been banned from deadchat.</span>"
|
||||
return
|
||||
|
||||
if (src.client)
|
||||
if(src.client.prefs.muted & MUTE_DEADCHAT)
|
||||
src << "<span class='danger'>You cannot talk in deadchat (muted).</span>"
|
||||
return
|
||||
|
||||
if (src.client.handle_spam_prevention(message,MUTE_DEADCHAT))
|
||||
return
|
||||
|
||||
. = src.say_dead(message)
|
||||
|
||||
/mob/dead/observer/Hear(message, atom/movable/speaker, message_langs, raw_message, radio_freq, list/spans)
|
||||
if(radio_freq)
|
||||
var/atom/movable/virtualspeaker/V = speaker
|
||||
|
||||
if(isAI(V.source))
|
||||
if(istype(V.source, /mob/living/silicon/ai))
|
||||
var/mob/living/silicon/ai/S = V.source
|
||||
speaker = S.eyeobj
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user