Skip to content

Commit

Permalink
prevent crash when generating replay analysis stuff for online replays
Browse files Browse the repository at this point in the history
this code will probably be deleted soon anyways
  • Loading branch information
poco0317 committed Sep 7, 2022
1 parent 1d8ee7f commit 7b4b1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Models/Misc/PlayerAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ PlayerAI::SetScoreData(HighScore* pHighScore, int firstRow, NoteData* pNoteData,
trr.row = replayNoteRowVector[i];
trr.offset = replayOffsetVector[i];
trr.offsetAdjustedRow = replayNoteRowVector[i];
if (pScoreData->HasColumnData()) {
if (!replayTrackVector.empty()) {
trr.track = replayTrackVector[i];

// bad bandaid, the correct type could be resolved from notedata
Expand Down

0 comments on commit 7b4b1dd

Please sign in to comment.