Skip to content

Commit

Permalink
Sample Loading Bugfix report issues when found
Browse files Browse the repository at this point in the history
  • Loading branch information
choptop84 committed Jan 15, 2025
1 parent 57bb17e commit a59c275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synth/synth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a59c275

Please sign in to comment.