mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
Don't show Station Event announcements to players in the lobby. (#30886)
This commit is contained in:
@@ -459,10 +459,12 @@ public sealed class NukeSystem : EntitySystem
|
||||
_announcer.GetAnnouncementId("NukeArm"),
|
||||
"nuke-component-announcement-armed",
|
||||
Loc.GetString("nuke-component-announcement-sender"),
|
||||
null,
|
||||
Color.Red,
|
||||
stationUid ?? uid,
|
||||
null,
|
||||
("time", (int) component.RemainingTime), ("location", FormattedMessage.RemoveMarkupPermissive(_navMap.GetNearestBeaconString((uid, nukeXform))))
|
||||
("time", (int) component.RemainingTime),
|
||||
("location", FormattedMessage.RemoveMarkupPermissive(_navMap.GetNearestBeaconString((uid, nukeXform))))
|
||||
);
|
||||
|
||||
_sound.PlayGlobalOnStation(uid, _audio.GetSound(component.ArmSound));
|
||||
|
||||
Reference in New Issue
Block a user