Quickfix: Give color to some announcements (#7488)
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user