Fix station announcements (#9380)
* Fix station announcements Doesn't just get what's on the grid. Also made it generic so other systems can use a station filter. * bumped * a
This commit is contained in:
@@ -483,7 +483,7 @@ namespace Content.Server.GameTicking
|
||||
if (!proto.GamePresets.Contains(Preset.ID)) continue;
|
||||
|
||||
if (proto.Message != null)
|
||||
_chatSystem.DispatchGlobalStationAnnouncement(Loc.GetString(proto.Message), playDefaultSound: true);
|
||||
_chatSystem.DispatchGlobalAnnouncement(Loc.GetString(proto.Message), playDefaultSound: true);
|
||||
|
||||
if (proto.Sound != null)
|
||||
SoundSystem.Play(proto.Sound.GetSound(), Filter.Broadcast());
|
||||
|
||||
Reference in New Issue
Block a user