mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user