to_chat fixes

Mostly sounds using to_chat instead of << like they should. Also, the
to_chat CRASH now refers to itself as to_chat instead of Boutput.
This commit is contained in:
Krausus
2016-06-24 18:36:50 -04:00
parent 9095f2ebe1
commit eecf8ba93b
33 changed files with 85 additions and 84 deletions
+2 -2
View File
@@ -126,14 +126,14 @@ datum/announcement/proc/PlaySound(var/message_sound)
return
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, message_sound)
M << message_sound
datum/announcement/proc/Sound(var/message_sound)
PlaySound(message_sound)
datum/announcement/priority/Sound(var/message_sound)
if(sound)
to_chat(world, sound)
world << sound
datum/announcement/priority/command/Sound(var/message_sound)
PlaySound(message_sound)