make stickers not persist

This commit is contained in:
Kolo
2025-10-07 05:09:21 +08:00
committed by Hundrec
parent d80682333a
commit 68970b6716
2 changed files with 9 additions and 3 deletions
+4 -2
View File
@@ -1717,7 +1717,8 @@ class FreeplayState extends MusicBeatSubState
function handleInputs(elapsed:Float):Void
{
if (!controls.active) return;
@:privateAccess
if (!controls.active || (stickerSubState?.switchingState ?? false)) return;
#if FEATURE_TOUCH_CONTROLS
handleTouchCapsuleClick();
@@ -2119,7 +2120,8 @@ class FreeplayState extends MusicBeatSubState
function goBack():Void
{
if (!controls.active) return;
@:privateAccess
if (!controls.active || (stickerSubState?.switchingState ?? false)) return;
backTransitioning = true;
#if FEATURE_TOUCH_CONTROLS
if (backButton != null)
+5 -1
View File
@@ -340,6 +340,9 @@ class StoryMenuState extends MusicBeatState
function handleKeyPresses():Void
{
@:privateAccess
if ((stickerSubState?.switchingState ?? false)) return;
if (!exitingMenu)
{
if (!selectedLevel)
@@ -723,7 +726,8 @@ class StoryMenuState extends MusicBeatState
function goBack():Void
{
if (exitingMenu || selectedLevel) return;
@:privateAccess
if (exitingMenu || selectedLevel || (stickerSubState?.switchingState ?? false)) return;
exitingMenu = true;
FlxG.keys.enabled = false;