diff --git a/src/Etterna/Models/Misc/PlayerAI.cpp b/src/Etterna/Models/Misc/PlayerAI.cpp index 1535609163..ab4540597b 100644 --- a/src/Etterna/Models/Misc/PlayerAI.cpp +++ b/src/Etterna/Models/Misc/PlayerAI.cpp @@ -515,7 +515,8 @@ PlayerAI::SetUpSnapshotMap(NoteData* pNoteData, } else { // If the current row is after the last recorded row, make a new one - if (m_ReplaySnapshotMap.rbegin()->first < row) { + if (m_ReplaySnapshotMap.empty() || + m_ReplaySnapshotMap.rbegin()->first < row) { ReplaySnapshot rs; FOREACH_ENUM(TapNoteScore, tns) rs.judgments[tns] = tempJudgments[tns];