make stickers not persist
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user