Skip to content

[BUGFIX] Fall back to default vocal offset when alt instrumental has none#7630

Open
VICK-sys wants to merge 1 commit into
FunkinCrew:developfrom
VICK-sys:fix/alt-instrumental-vocal-offset-fallback
Open

[BUGFIX] Fall back to default vocal offset when alt instrumental has none#7630
VICK-sys wants to merge 1 commit into
FunkinCrew:developfrom
VICK-sys:fix/alt-instrumental-vocal-offset-fallback

Conversation

@VICK-sys
Copy link
Copy Markdown

Linked Issues

Fixes #7616

Description

SongOffsets.getVocalOffset(charId, instrumental) returned 0.0 when the requested alt instrumental had no altVocals entry, silently dropping the default vocals[charId] offset even though vocal files are shared across instrumentals. Fall back to the default offset unless the alt explicitly overrides it. Also treat instrumental == '' the same as nullSong.buildVocals passes '' for the default case, which previously fell into the alt branch and dropped the default offset there too. Now matches getInstrumentalOffset's handling.

Screenshots/Videos

See the original reporter's video on #7616

@github-actions github-actions Bot added status: pending triage Awaiting review. size: small A small pull request with 10 or fewer changes. pr: haxe PR modifies game code. labels May 26, 2026
@NotHyper-474 NotHyper-474 added the type: minor bug Involves a minor bug or issue. label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: small A small pull request with 10 or fewer changes. status: pending triage Awaiting review. type: minor bug Involves a minor bug or issue.

Development

Successfully merging this pull request may close these issues.

2 participants