Make audio sliders use gain not volume (#21984)

This commit is contained in:
metalgearsloth
2023-12-09 14:03:08 +11:00
committed by GitHub
parent bd79fff15f
commit 98d5f9f56b
6 changed files with 37 additions and 49 deletions

View File

@@ -75,7 +75,7 @@ public sealed partial class ContentAudioSystem
private void AmbienceCVarChanged(float obj)
{
_volumeSlider = obj;
_volumeSlider = SharedAudioSystem.GainToVolume(obj);
if (_ambientMusicStream != null && _musicProto != null)
{