Skip to content

Commit

Permalink
remove the ability to hold start to go to eval after practice
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Mar 13, 2022
1 parent 5db50a3 commit 3b10c20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1309,8 +1309,10 @@ ScreenGameplay::Input(const InputEventPlus& input) -> bool
bHoldingGiveUp |= (input.MenuI == GAME_BUTTON_START);
}

// Exiting gameplay by holding Start (Forced Fail)
if (bHoldingGiveUp && PREFSMAN->m_AllowStartToGiveUp) {
// Exiting gameplay by holding Start (Forced Fail)
// Never allow holding start in Practice Mode
if (bHoldingGiveUp && !GAMESTATE->IsPracticeMode() &&
PREFSMAN->m_AllowStartToGiveUp) {
if (input.type == IET_RELEASE) {
AbortGiveUp(true);
} else if (input.type == IET_FIRST_PRESS &&
Expand Down

0 comments on commit 3b10c20

Please sign in to comment.