Skip to content

Commit

Permalink
dj hitbox thing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Dec 20, 2024
1 parent 691768b commit 754ef74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/mikolka/vslice/freeplay/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class FreeplayState extends MusicBeatSubstate
var curPlaying:Bool = false;

var dj:Null<FreeplayDJ> = null;
var djTouchHitbox:FlxSprite = new FlxSprite(108, 408);
var djTouchHitbox:FlxSprite = new FlxSprite(78, 308);

var ostName:FlxText;
var albumRoll:AlbumRoll;
Expand Down Expand Up @@ -1510,7 +1510,7 @@ class FreeplayState extends MusicBeatSubstate
}
#end // ^<-- FEATURE_DEBUG_FUNCTIONS

if ((FunkinControls.FREEPLAY_CHAR || (TouchUtil.overlaps(djTouchHitbox) && TouchUtil.justReleased && !SwipeUtil.swipeAny)) && !busy)
if ((FunkinControls.FREEPLAY_CHAR || (TouchUtil.overlapsComplex(djTouchHitbox) && TouchUtil.justReleased && !SwipeUtil.swipeAny)) && !busy)
{
tryOpenCharSelect();
}
Expand Down

0 comments on commit 754ef74

Please sign in to comment.