Skip to content

Commit

Permalink
Pause menu: Fix segfault on u/down key input
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Patrick Guerrero authored and SmallJoker committed Feb 8, 2021
1 parent 6591597 commit 1d64e65
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/client/game.cpp
Expand Up @@ -171,13 +171,7 @@ struct LocalFormspecHandler : public TextDest
return;
}

if (fields.find("quit") != fields.end()) {
return;
}

if (fields.find("btn_continue") != fields.end()) {
return;
}
return;
}

if (m_formname == "MT_DEATH_SCREEN") {
Expand Down

0 comments on commit 1d64e65

Please sign in to comment.