Fully restores the functionality of audiovisual redirection
This commit is contained in:
@@ -238,7 +238,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
|
||||
|
||||
/mob/living/Hear(message, atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, message_mode, atom/movable/source)
|
||||
SEND_SIGNAL(src, COMSIG_MOVABLE_HEAR, args) //parent calls can't overwrite the current proc args.
|
||||
if(!client)
|
||||
if(!client && !audiovisual_redirect)
|
||||
return
|
||||
var/deaf_message
|
||||
var/deaf_type
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
return
|
||||
hearers -= ignored_mobs
|
||||
|
||||
if(target_message && target && istype(target) && target.client)
|
||||
if(target_message && target && istype(target) && (target.client || target.audiovisual_redirect))
|
||||
hearers -= target
|
||||
if(omni)
|
||||
target.show_message(target_message)
|
||||
@@ -155,7 +155,7 @@
|
||||
if(self_message)
|
||||
hearers -= src
|
||||
for(var/mob/M in hearers)
|
||||
if(!M.client)
|
||||
if(!M.client && !M.audiovisual_redirect)
|
||||
continue
|
||||
if(omni)
|
||||
M.show_message(message)
|
||||
|
||||
Reference in New Issue
Block a user