Skip to content
Draft
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
3 changes: 2 additions & 1 deletion Content.Server/Audio/Jukebox/JukeboxSystem.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -56,7 +57,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; // Ronstation - Modification
Dirty(uid, component);
}
}
Expand Down
Loading