Announcements play the general announcement sound unless specifically inhibited (#5460)

This commit is contained in:
20kdc
2021-11-22 22:34:48 +00:00
committed by GitHub
parent a983ce3aeb
commit 1ba58456c4
9 changed files with 24 additions and 19 deletions

View File

@@ -123,7 +123,7 @@ namespace Content.Server.StationEvents.Events
if (StartAnnouncement != null)
{
var chatManager = IoCManager.Resolve<IChatManager>();
chatManager.DispatchStationAnnouncement(StartAnnouncement);
chatManager.DispatchStationAnnouncement(StartAnnouncement, playDefaultSound: false);
}
if (StartAudio != null)
@@ -146,7 +146,7 @@ namespace Content.Server.StationEvents.Events
if (EndAnnouncement != null)
{
var chatManager = IoCManager.Resolve<IChatManager>();
chatManager.DispatchStationAnnouncement(EndAnnouncement);
chatManager.DispatchStationAnnouncement(EndAnnouncement, playDefaultSound: false);
}
if (EndAudio != null)