Skip to content

Commit 1d64e65

Browse files
kilbithSmallJoker
authored andcommittedFeb 8, 2021
Pause menu: Fix segfault on u/down key input
1 parent 6591597 commit 1d64e65

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed
 

‎src/client/game.cpp

+1-7
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,7 @@ struct LocalFormspecHandler : public TextDest
171171
return;
172172
}
173173

174-
if (fields.find("quit") != fields.end()) {
175-
return;
176-
}
177-
178-
if (fields.find("btn_continue") != fields.end()) {
179-
return;
180-
}
174+
return;
181175
}
182176

183177
if (m_formname == "MT_DEATH_SCREEN") {

0 commit comments

Comments
 (0)