Skip to content

Commit

Permalink
This fixes sticking note thing, but...
Browse files Browse the repository at this point in the history
causes the first hold note that gets alt pressed to be dropped
  • Loading branch information
Lasercar committed Feb 18, 2025
1 parent b1d60b3 commit 6067e60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2164,9 +2164,8 @@ class PlayState extends MusicBeatSubState
{
if (isGamePaused)
{
// If the key's still being pressed, return?
if (controls.check("note_" + event.noteDirection.toString(), PRESSED)) return;
// The player released and repressed the key, so pop the release input
if (controls.check("note_" + event.noteDirection.toString(), JUST_PRESSED)) return;
inputReleaseQueue.pop();
return;
}
Expand Down

0 comments on commit 6067e60

Please sign in to comment.