Don't show Station Event announcements to players in the lobby. (#30886)

This commit is contained in:
Mervill
2024-08-11 09:09:33 +03:00
committed by Spatison
parent 1e1b7fa468
commit e6fa747f95
27 changed files with 141 additions and 121 deletions

View File

@@ -74,7 +74,7 @@ public sealed class WarDeclaratorSystem : EntitySystem
if (ev.Status == WarConditionStatus.WarReady)
{
var title = Loc.GetString(ent.Comp.SenderTitle);
_announcer.SendAnnouncement("war", Filter.Broadcast(), ent.Comp.Message, title, ent.Comp.Color);
_announcer.SendAnnouncement("war", ent.Comp.Message, title, colorOverride: ent.Comp.Color);
_adminLogger.Add(LogType.Chat, LogImpact.Low, $"{ToPrettyString(args.Actor):player} has declared war with this text: {ent.Comp.Message}");
}