Pause menu: Fix segfault on u/down key input

This commit is contained in:
Jean-Patrick Guerrero 2021-02-08 18:56:51 +01:00 committed by SmallJoker
parent 6591597430
commit 1d64e6537c

@ -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") {