Skip to content

[BUGFIX] Prevent goBack() from running if mustNotExit is true#6917

Merged
Hundrec merged 1 commit into
FunkinCrew:dummy/develop-v0.8.1from
RagdollClash:bugfix/mobile-mustNotExit
Feb 14, 2026
Merged

[BUGFIX] Prevent goBack() from running if mustNotExit is true#6917
Hundrec merged 1 commit into
FunkinCrew:dummy/develop-v0.8.1from
RagdollClash:bugfix/mobile-mustNotExit

Conversation

@RagdollClash
Copy link
Copy Markdown
Contributor

@RagdollClash RagdollClash commented Feb 11, 2026

Description

When mustNotExit in GameOverSubState is set to true, the game prevents you from leaving/restarting the song until it's set to false. However on mobile, this is ignored as the back button calls the goBack function directly. We fix this by making that function also check against the variable. This prevents mobile from being able to skip Boyfriend's fakeout death, or mods that enable it for their own purposes.

Screenshots/Videos

NOTE: I am using a mod to force the fakeoutDeath animation to play: BFFakeOut.zip

Before:

before.mp4

After:

after.mp4

@github-actions github-actions Bot added status: pending triage Awaiting review. size: tiny A tiny pull request with 4 or fewer changes. pr: haxe PR modifies game code. and removed size: tiny A tiny pull request with 4 or fewer changes. labels Feb 11, 2026
Fixes mobile exiting GameOverSubState regardless of said variable.
@RagdollClash RagdollClash force-pushed the bugfix/mobile-mustNotExit branch from b72d1b1 to 42038a0 Compare February 12, 2026 03:13
@github-actions github-actions Bot added the size: tiny A tiny pull request with 4 or fewer changes. label Feb 12, 2026
@Hundrec Hundrec added the type: minor bug Involves a minor bug or issue. label Feb 13, 2026
@Hundrec Hundrec self-requested a review February 13, 2026 08:19
@Hundrec Hundrec added status: reviewing internally Under consideration and testing. and removed status: pending triage Awaiting review. labels Feb 13, 2026
@Hundrec Hundrec removed their request for review February 13, 2026 08:52
@Hundrec Hundrec changed the base branch from develop to dummy/develop-v0.8.1 February 14, 2026 03:01
@Hundrec Hundrec added status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: reviewing internally Under consideration and testing. labels Feb 14, 2026
@Hundrec Hundrec added this to the 0.8.2 milestone Feb 14, 2026
@Hundrec Hundrec added platform: ios Specific to iOS and other Apple Mobile platforms. platform: android Specific to Android and other Android-based Mobile platforms. labels Feb 14, 2026
@Hundrec Hundrec merged commit 2a646b6 into FunkinCrew:dummy/develop-v0.8.1 Feb 14, 2026
9 checks passed
@RagdollClash RagdollClash deleted the bugfix/mobile-mustNotExit branch February 14, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: android Specific to Android and other Android-based Mobile platforms. platform: ios Specific to iOS and other Apple Mobile platforms. pr: haxe PR modifies game code. size: tiny A tiny pull request with 4 or fewer changes. status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. type: minor bug Involves a minor bug or issue.

Development

Successfully merging this pull request may close these issues.

2 participants