From a4a316bbf09e5a186de4b74e8a3120e314c9e8e7 Mon Sep 17 00:00:00 2001 From: "born a rick, raised a morty, died a jerry" Date: Sun, 25 Nov 2018 01:46:10 -0500 Subject: [PATCH] only pop offsets during replays if cc is off --- src/PlayerAI.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/PlayerAI.cpp b/src/PlayerAI.cpp index 8b3c2f925e..5cbe40faae 100644 --- a/src/PlayerAI.cpp +++ b/src/PlayerAI.cpp @@ -455,9 +455,12 @@ PlayerAI::GetTapNoteOffsetForReplay(TapNote* pTN, int noteRow, int col) // this is done to be able to judge simultaneous taps differently // due to CC Off this results in possibly incorrect precise per tap // judges, but the correct judgement ends up being made overall. - m_ReplayTapMap[noteRow].pop_back(); - if (m_ReplayTapMap[noteRow].empty()) { - m_ReplayTapMap.erase(noteRow); + + if (!pScoreData->GetChordCohesion()) { + m_ReplayTapMap[noteRow].pop_back(); + if (m_ReplayTapMap[noteRow].empty()) { + m_ReplayTapMap.erase(noteRow); + } } return -offset;