From 74627795d2a96bb2b4bfa74c76ec6bdf48463e84 Mon Sep 17 00:00:00 2001 From: MoonDroid <81515012+moondroidcoder@users.noreply.github.com> Date: Tue, 24 Jun 2025 05:05:44 +0700 Subject: [PATCH] Fix compile-time error for desktop builds --- source/funkin/ui/freeplay/FreeplayState.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx index 94ae635ad..22e5c7ea0 100644 --- a/source/funkin/ui/freeplay/FreeplayState.hx +++ b/source/funkin/ui/freeplay/FreeplayState.hx @@ -2255,6 +2255,7 @@ class FreeplayState extends MusicBeatSubState grpCapsules.members[curSelected].selected = true; // set selected again, so it can run its getter function to initialize movement } + #if FEATURE_TOUCH_CONTROLS function handleDiffDragRelease(diff:FlxSprite):Void { @:nullSafety(Off) @@ -2284,6 +2285,7 @@ class FreeplayState extends MusicBeatSubState draggingDifficulty = false; _heldOnDiff = true; } + #end function capsuleOnConfirmRandom(randomCapsule:SongMenuItem):Void {