Add a Color parameter to dispatching announcements, change the color of certain common messages (#6840)
This commit is contained in:
@@ -132,7 +132,7 @@ namespace Content.Server.StationEvents.Events
|
||||
if (StartAnnouncement != null)
|
||||
{
|
||||
var chatManager = IoCManager.Resolve<IChatManager>();
|
||||
chatManager.DispatchStationAnnouncement(StartAnnouncement, playDefaultSound: false);
|
||||
chatManager.DispatchStationAnnouncement(StartAnnouncement, playDefaultSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
if (StartAudio != null)
|
||||
@@ -155,7 +155,7 @@ namespace Content.Server.StationEvents.Events
|
||||
if (EndAnnouncement != null)
|
||||
{
|
||||
var chatManager = IoCManager.Resolve<IChatManager>();
|
||||
chatManager.DispatchStationAnnouncement(EndAnnouncement, playDefaultSound: false);
|
||||
chatManager.DispatchStationAnnouncement(EndAnnouncement, playDefaultSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
if (EndAudio != null)
|
||||
|
||||
Reference in New Issue
Block a user