From e34450fbe81001e7b03692cee7e8d996a78cd0cd Mon Sep 17 00:00:00 2001 From: sukibaby <163092272+sukibaby@users.noreply.github.com> Date: Tue, 30 Jul 2024 01:54:17 -0700 Subject: [PATCH] Prevent overlapping assist tick sounds --- src/GameplayAssist.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GameplayAssist.cpp b/src/GameplayAssist.cpp index e178f6ea22..e20fedbfad 100644 --- a/src/GameplayAssist.cpp +++ b/src/GameplayAssist.cpp @@ -43,8 +43,13 @@ void GameplayAssist::PlayTicks( const NoteData &nd, const PlayerState *ps ) int iClapRow = -1; // for each index we crossed since the last update: FOREACH_NONEMPTY_ROW_ALL_TRACKS_RANGE( nd, r, iRowLastCrossed+1, iSongRow+1 ) + { if( nd.IsThereATapOrHoldHeadAtRow( r ) ) + { iClapRow = r; + break; + } + } if( iClapRow != -1 && timing.IsJudgableAtRow(iClapRow)) {