mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
Don't show Station Event announcements to players in the lobby. (#30886)
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user