diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 67c4e1fc4..95f92075d 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4506,6 +4506,16 @@ class ChartEditorState extends HaxeUIState function resetConductorAfterTest(_:FlxSubState = null):Void { moveSongToScrollPosition(); + + var instVolumeSlider:Null = findComponent('menubarItemVolumeInstrumental', Slider); + var vocalVolumeSlider:Null = findComponent('menubarItemVolumeVocals', Slider); + + // Reapply the volume. + var instTargetVolume:Float = instVolumeSlider?.value ?? 1.0; + var vocalTargetVolume:Float = vocalVolumeSlider?.value ?? 1.0; + + if (audioInstTrack != null) audioInstTrack.volume = instTargetVolume; + if (audioVocalTrackGroup != null) audioVocalTrackGroup.volume = vocalTargetVolume; } /**