Quickfix: Give color to some announcements (#7488)

This commit is contained in:
Chris V
2022-04-10 13:54:07 -07:00
committed by GitHub
parent 8d8b0e6376
commit ef6d147763
5 changed files with 8 additions and 6 deletions

View File

@@ -26,12 +26,12 @@ namespace Content.Server.Announcements
if (args.Length == 1)
{
chat.DispatchStationAnnouncement(args[0]);
chat.DispatchStationAnnouncement(args[0], colorOverride: Color.Gold);
}
else
{
var message = string.Join(' ', new ArraySegment<string>(args, 1, args.Length-1));
chat.DispatchStationAnnouncement(message, args[0]);
chat.DispatchStationAnnouncement(message, args[0], colorOverride: Color.Gold);
}
shell.WriteLine("Sent!");
}