Further tweaks say.dm

This commit is contained in:
Arokha Sieyes
2016-05-25 00:13:59 -04:00
parent 3f2c95cfff
commit 4f230aba7c

View File

@@ -242,13 +242,17 @@ proc/get_radio_key_from_channel(var/channel)
spawn(30) qdel(speech_bubble) spawn(30) qdel(speech_bubble)
for(var/mob/M in listening) for(var/mob/M in listening)
M << speech_bubble try
M.hear_say(message, verb, speaking, alt_name, italics, src, speech_sound, sound_vol) M << speech_bubble
M.hear_say(message, verb, speaking, alt_name, italics, src, speech_sound, sound_vol)
catch(var/exception/e)
log_debug("hear_say exception on mob - [e] in [e.file]:[e.line]")
for(var/obj/O in listening_obj) for(var/obj/O in listening_obj)
spawn(0) try
if(O) //It's possible that it could be deleted in the meantime. O.hear_talk(src, message, verb, speaking)
O.hear_talk(src, message, verb, speaking) catch(var/exception/e)
log_debug("hear_talk exception on obj - [e] in [e.file]:[e.line]")
log_say("[name]/[key] : [message]") log_say("[name]/[key] : [message]")
return 1 return 1