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

@@ -128,9 +128,12 @@ namespace Content.Server.PowerSink
if (station == null)
return;
_announcer.SendAnnouncement(_announcer.GetAnnouncementId("PowerSinkExplosion"),
_station.GetInOwningStation(station.Value), "powersink-immiment-explosion-announcement",
colorOverride: Color.Yellow, station: station.Value);
_announcer.SendAnnouncement(
_announcer.GetAnnouncementId("PowerSinkExplosion"),
"powersink-immiment-explosion-announcement",
filter: _station.GetInOwningStation(station.Value),
colorOverride: Color.Yellow,
station: station.Value);
}
}
}