Skip to content

Commit

Permalink
Always remove items from replay playback data when hitting them
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 28, 2021
1 parent 21e5f32 commit a5517a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Etterna/Actor/Gameplay/PlayerReplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,6 @@ PlayerReplay::Step(int col,
if (fNoteOffset == -2.f) // we hit a mine
{
score = TNS_HitMine;
PlayerAI::RemoveTapFromVectors(rowToJudge, col);
} else if (pTN->type == TapNoteType_Mine) // we are looking
// at a mine but
// missed it
Expand All @@ -690,6 +689,8 @@ PlayerReplay::Step(int col,
}
}

PlayerAI::RemoveTapFromVectors(rowToJudge, col);

// Do game-specific and mode-specific score mapping.
score = GAMESTATE->GetCurrentGame()->MapTapNoteScore(score);
if (score == TNS_W1 && !GAMESTATE->ShowW1())
Expand Down

0 comments on commit a5517a2

Please sign in to comment.