Skip to content

[BUGFIX] Fix non scripted variation songs using default variation script#7613

Open
ahmed7p wants to merge 1 commit into
FunkinCrew:developfrom
ahmed7p:VScriptsFix
Open

[BUGFIX] Fix non scripted variation songs using default variation script#7613
ahmed7p wants to merge 1 commit into
FunkinCrew:developfrom
ahmed7p:VScriptsFix

Conversation

@ahmed7p
Copy link
Copy Markdown

@ahmed7p ahmed7p commented May 22, 2026

Description

This PR fixes an issue where custom variation songs were running the default variation script if there is no script for them

Changelog

  • ADD: Added unscriptedSongVariations map to register and track non-scripted song variations.
  • UPD: Updated loadEntries() to safely iterate through entry variations and populate the new unscripted variations map.
  • UPD: Updated fetchEntry() to prioritize scripted variations first, then unscripted variations, preventing them from falling back to the default variation script.

Screenshots/Videos

Before

2026-05-22.05-32-32.mp4

After

2026-05-22.05-30-54.mp4

@github-actions github-actions Bot added status: pending triage Awaiting review. pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. labels May 22, 2026
@NotHyper-474 NotHyper-474 added the type: minor bug Involves a minor bug or issue. label May 22, 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: medium A medium pull request with 100 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