From a34ad1b6126ef2bbf96617cdbc527b544e4050f3 Mon Sep 17 00:00:00 2001 From: imatsoup <93290208+imatsoup@users.noreply.github.com> Date: Fri, 3 Oct 2025 20:16:52 -0400 Subject: [PATCH 1/2] Update JukeboxSystem.cs --- Content.Server/Audio/Jukebox/JukeboxSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Audio/Jukebox/JukeboxSystem.cs b/Content.Server/Audio/Jukebox/JukeboxSystem.cs index 81d71894b8620..27fd1ffc9d2ec 100644 --- a/Content.Server/Audio/Jukebox/JukeboxSystem.cs +++ b/Content.Server/Audio/Jukebox/JukeboxSystem.cs @@ -56,7 +56,7 @@ private void OnJukeboxPlay(EntityUid uid, JukeboxComponent component, ref Jukebo return; } - component.AudioStream = Audio.PlayPvs(jukeboxProto.Path, uid, AudioParams.Default.WithMaxDistance(10f))?.Entity; + component.AudioStream = Audio.PlayPvs(jukeboxProto.Path, uid, AudioParams.Default.WithVolume(-4f).WithMaxDistance(10f))?.Entity; Dirty(uid, component); } } From 9d19fef4b5f90bbba5703a5327ec26e8015738ca Mon Sep 17 00:00:00 2001 From: imatsoup <93290208+imatsoup@users.noreply.github.com> Date: Fri, 3 Oct 2025 20:19:58 -0400 Subject: [PATCH 2/2] Added missing license headers --- Content.Server/Audio/Jukebox/JukeboxSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Audio/Jukebox/JukeboxSystem.cs b/Content.Server/Audio/Jukebox/JukeboxSystem.cs index 27fd1ffc9d2ec..6def407ae9ade 100644 --- a/Content.Server/Audio/Jukebox/JukeboxSystem.cs +++ b/Content.Server/Audio/Jukebox/JukeboxSystem.cs @@ -1,3 +1,4 @@ +// Modified by Ronstation contributor(s), therefore this file is licensed as MIT sublicensed with AGPL-v3.0. using Content.Server.Power.Components; using Content.Server.Power.EntitySystems; using Content.Shared.Audio.Jukebox; @@ -56,7 +57,7 @@ private void OnJukeboxPlay(EntityUid uid, JukeboxComponent component, ref Jukebo return; } - component.AudioStream = Audio.PlayPvs(jukeboxProto.Path, uid, AudioParams.Default.WithVolume(-4f).WithMaxDistance(10f))?.Entity; + component.AudioStream = Audio.PlayPvs(jukeboxProto.Path, uid, AudioParams.Default.WithVolume(-4f).WithMaxDistance(10f))?.Entity; // Ronstation - Modification Dirty(uid, component); } }