Add a Color parameter to dispatching announcements, change the color of certain common messages (#6840)
This commit is contained in:
@@ -335,7 +335,7 @@ namespace Content.Server.Nuke
|
||||
var announcement = Loc.GetString("nuke-component-announcement-armed",
|
||||
("time", (int) component.RemainingTime));
|
||||
var sender = Loc.GetString("nuke-component-announcement-sender");
|
||||
_chat.DispatchStationAnnouncement(announcement, sender, false);
|
||||
_chat.DispatchStationAnnouncement(announcement, sender, false, Color.Red);
|
||||
|
||||
// todo: move it to announcements system
|
||||
SoundSystem.Play(Filter.Broadcast(), component.ArmSound.GetSound());
|
||||
|
||||
Reference in New Issue
Block a user