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:
@@ -249,7 +249,7 @@ namespace Content.Server.Communications
|
||||
msg += "\n" + Loc.GetString("comms-console-announcement-sent-by") + " " + author;
|
||||
if (comp.AnnounceGlobal)
|
||||
{
|
||||
_chatSystem.DispatchGlobalStationAnnouncement(msg, title, colorOverride: comp.AnnouncementColor);
|
||||
_chatSystem.DispatchGlobalAnnouncement(msg, title, colorOverride: comp.AnnouncementColor);
|
||||
return;
|
||||
}
|
||||
_chatSystem.DispatchStationAnnouncement(uid, msg, title, colorOverride: comp.AnnouncementColor);
|
||||
|
||||
Reference in New Issue
Block a user