Reverses Announcement sound pref to hopefully fix it starting off.

This commit is contained in:
Shadowlight213
2016-02-20 15:59:15 -03:00
parent e5bfff0cc9
commit 07565ffaa5
4 changed files with 18 additions and 16 deletions

View File

@@ -27,8 +27,9 @@
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !M.ear_deaf)
M << announcement
if(M.client.prefs.toggles & SOUND_ANNOUNCMENTS)
M << sound(sound)
if(M.client.prefs.toggles & SOUND_ANNOUNCEMENTS)
return
M << sound(sound)
/proc/print_command_report(text = "", title = "Central Command Update")
for (var/obj/machinery/computer/communications/C in machines)
@@ -46,8 +47,9 @@
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !M.ear_deaf)
M << "<b><font size = 3><font color = red>[title]</font color><BR>[message]</font size></b><BR>"
if(M.client.prefs.toggles & SOUND_ANNOUNCMENTS)
if(alert)
M << sound('sound/misc/notice1.ogg')
else
M << sound('sound/misc/notice2.ogg')
if(M.client.prefs.toggles & SOUND_ANNOUNCEMENTS)
return
if(alert)
M << sound('sound/misc/notice1.ogg')
else
M << sound('sound/misc/notice2.ogg')