Skip to content

Commit

Permalink
Stop input spam on character select
Browse files Browse the repository at this point in the history
  • Loading branch information
ACrazyTown committed Sep 20, 2024
1 parent a27c4ae commit 69fbe3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/funkin/ui/charSelect/CharSelectSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,11 @@ class CharSelectSubState extends MusicBeatSubState

if (!pressedSelect && controls.ACCEPT)
{
spamUp = false;
spamDown = false;
spamLeft = false;
spamRight = false;

cursorConfirmed.visible = true;
cursorConfirmed.x = cursor.x - 2;
cursorConfirmed.y = cursor.y - 4;
Expand Down

0 comments on commit 69fbe3e

Please sign in to comment.