Nuke detonation sound effect is global again (#19077)

This commit is contained in:
Vasilis
2023-08-14 05:55:50 +02:00
committed by GitHub
parent ce422035fe
commit 55e9a2f117

View File

@@ -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;
}