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
+3 -3
View File
@@ -229,11 +229,11 @@ datum/controller/vote
to_chat(world, "<font color='purple'><b>[text]</b>\nType vote to place your votes.\nYou have [config.vote_period/10] seconds to vote.</font>")
switch(vote_type)
if("crew_transfer")
to_chat(world, sound('sound/ambience/alarm4.ogg'))
world << sound('sound/ambience/alarm4.ogg')
if("gamemode")
to_chat(world, sound('sound/ambience/alarm4.ogg'))
world << sound('sound/ambience/alarm4.ogg')
if("custom")
to_chat(world, sound('sound/ambience/alarm4.ogg'))
world << sound('sound/ambience/alarm4.ogg')
if(mode == "gamemode" && going)
going = 0
to_chat(world, "<font color='red'><b>Round start has been delayed.</b></font>")