Merge pull request #15656 from YotaXP/announce

Fixes Announcements
This commit is contained in:
Remie Richards
2016-02-21 05:50:46 +00:00
+2 -2
View File
@@ -28,7 +28,7 @@
if(!istype(M,/mob/new_player) && !M.ear_deaf)
M << announcement
if(M.client.prefs.toggles & SOUND_ANNOUNCEMENTS)
return
continue
M << sound(sound)
/proc/print_command_report(text = "", title = "Central Command Update")
@@ -48,7 +48,7 @@
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_ANNOUNCEMENTS)
return
continue
if(alert)
M << sound('sound/misc/notice1.ogg')
else