From 192f1113b40f8a1cf55f134dbaee418f1e0f6b46 Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Wed, 1 May 2024 15:22:20 -0400
Subject: [PATCH] merch link freeplay fix

---
 source/funkin/ui/freeplay/FreeplayState.hx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx
index 513d411f7..a030f6a76 100644
--- a/source/funkin/ui/freeplay/FreeplayState.hx
+++ b/source/funkin/ui/freeplay/FreeplayState.hx
@@ -146,6 +146,7 @@ class FreeplayState extends MusicBeatSubState
     }
 
     super(FlxColor.TRANSPARENT);
+    FlxG.state.persistentUpdate = false;
   }
 
   override function create():Void
@@ -1279,11 +1280,10 @@ class FreeplayState extends MusicBeatSubState
   public static function build(?params:FreeplayStateParams, ?stickers:StickerSubState):MusicBeatState
   {
     var result = new MainMenuState();
-    result.persistentUpdate = false;
-    result.persistentDraw = true;
 
     result.openSubState(new FreeplayState(params, stickers));
-
+    result.persistentUpdate = false;
+    result.persistentDraw = true;
     return result;
   }
 }