From 55e9a2f1170f962d3028fcb6049fdd54e5516a04 Mon Sep 17 00:00:00 2001 From: Vasilis Date: Mon, 14 Aug 2023 05:55:50 +0200 Subject: [PATCH] Nuke detonation sound effect is global again (#19077) --- Content.Server/Nuke/NukeSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Nuke/NukeSystem.cs b/Content.Server/Nuke/NukeSystem.cs index 80c8e4e25d..e7cc515e2b 100644 --- a/Content.Server/Nuke/NukeSystem.cs +++ b/Content.Server/Nuke/NukeSystem.cs @@ -291,7 +291,7 @@ public sealed class NukeSystem : EntitySystem // play alert sound if time is running out if (nuke.RemainingTime <= nuke.AlertSoundTime && !nuke.PlayedAlertSound) { - nuke.AlertAudioStream = _audio.Play(nuke.AlertSound, Filter.Broadcast(), uid, true); + _sound.PlayGlobalOnStation(uid, _audio.GetSound(nuke.AlertSound)); _sound.StopStationEventMusic(uid, StationEventMusicType.Nuke); nuke.PlayedAlertSound = true; }