Skip to content

Commit

Permalink
dont allow restarting after completing a file
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 30, 2020
1 parent 9314daa commit 80ef4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ ScreenGameplay::Input(const InputEventPlus& input) -> bool
Column_Invalid) {
bHoldingRestart |= input.MenuI == GAME_BUTTON_RESTART;
}
if (bHoldingRestart) {
if (bHoldingRestart && m_DancingState != STATE_OUTRO) {
RestartGameplay();
}

Expand Down

0 comments on commit 80ef4b9

Please sign in to comment.