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
@@ -168,14 +168,14 @@
S.channel = 0 //Any channel
S.volume = 50
for(var/mob/M in passengers)
to_chat(M, S)
M << S
if(passengers && oldhealth > health && !health)
var/sound/S = sound('sound/effects/engine_alert1.ogg')
S.wait = 0
S.channel = 0
S.volume = 50
for(var/mob/M in passengers)
to_chat(M, S)
M << S
if(!health)
spawn(0)
if(passengers)