Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Server/AlertLevel/AlertLevelSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void SetLevel(EntityUid station, string level, bool playSound, bool annou
if (Loc.TryGetString(detail.Announcement, out var locAnnouncement))
announcement = locAnnouncement;

var alert = _announcer.GetAnnouncementId($"Alert{level}");
var alert = $"alert{char.ToUpperInvariant(level[0]) + level[1..]}";
if (playSound)
_announcer.SendAnnouncementAudio(alert, _stationSystem.GetInOwningStation(station));
if (announce)
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions Resources/Prototypes/Announcers/michael.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
path: alerts/red.ogg
- id: alertGamma # There is a massive immediate threat to the station, listen to Central Command
path: alerts/gamma.ogg
# - id: alertDelta # The station is being or about to be massively destroyed, run for your life
# path: alerts/delta.ogg
- id: alertDelta # The station is being or about to be massively destroyed, run for your life
path: alerts/delta.ogg
- id: alertEpsilon # The station has been terminated, good luck survivors!
path: alerts/epsilon.ogg
audioParams:
Expand Down