More fixes to text2speech

This commit is contained in:
ZomgPonies
2014-01-27 16:58:52 -05:00
parent bd3e0c1cf8
commit 7014f6f83e
10 changed files with 43 additions and 37 deletions
+2 -2
View File
@@ -409,8 +409,8 @@ var/list/department_radio_keys = list(
if(message_mode == null && fexists("sound/playervoices/[src.ckey].ogg"))
if(M.client)
if(M.client.prefs)
if(M.client.prefs.toggles & SOUND_VOICES)
playsound(src.loc, "sound/playervoices/[src.ckey].ogg", 70, 0, 5, 1)
if(M.client.prefs.sound & SOUND_VOICES)
playsound_local(src.loc, "sound/playervoices/[src.ckey].ogg", 70, 0, 5, 1)
if(!istype(M, /mob/new_player))
if(M && M.stat == DEAD)
if ((M.client.prefs.toggles & CHAT_GHOSTEARS) && M in onscreen)