diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index ee8af9191..0349db550 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4515,6 +4515,7 @@ class ChartEditorState extends HaxeUIState /** * Fix the current scroll position after exiting the PlayState used when testing. */ + @:nullSafety(Off) function resetConductorAfterTest(_:FlxSubState = null):Void { moveSongToScrollPosition(); @@ -4526,7 +4527,11 @@ class ChartEditorState extends HaxeUIState var instTargetVolume:Float = instVolumeSlider?.value ?? 1.0; var vocalTargetVolume:Float = vocalVolumeSlider?.value ?? 1.0; - if (audioInstTrack != null) audioInstTrack.volume = instTargetVolume; + if (audioInstTrack != null) + { + audioInstTrack.volume = instTargetVolume; + audioInstTrack.onComplete = null; + } if (audioVocalTrackGroup != null) audioVocalTrackGroup.volume = vocalTargetVolume; }