mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
More fixes to text2speech
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user