mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-17 05:32:27 +00:00
Further tweaks say.dm
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user