From a59c27560458fc3e5bd56685a227dd13d3a69033 Mon Sep 17 00:00:00 2001 From: choptop84 Date: Wed, 15 Jan 2025 14:54:44 -0500 Subject: [PATCH] Sample Loading Bugfix report issues when found --- synth/synth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synth/synth.ts b/synth/synth.ts index 0acc3a1..511cc28 100644 --- a/synth/synth.ts +++ b/synth/synth.ts @@ -4052,7 +4052,7 @@ export class Song { else { // UB version 2 URLs and below will be using the old syntax, so we do need to parse it in that case. // UB version 3 URLs should only have the new syntax, though, unless the user has edited the URL manually. - const parseOldSyntax: boolean = beforeThree; + const parseOldSyntax: boolean = (fromUltraBox && beforeThree); const ok: boolean = Song._parseAndConfigureCustomSample(url, customSampleUrls, customSamplePresets, sampleLoadingState, parseOldSyntax); if (!ok) { continue;