forked from Mirrorlandia_minetest/minetest
Pause menu: Fix segfault on u/down key input
This commit is contained in:
parent
6591597430
commit
1d64e6537c
@ -171,15 +171,9 @@ struct LocalFormspecHandler : public TextDest
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fields.find("quit") != fields.end()) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fields.find("btn_continue") != fields.end()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_formname == "MT_DEATH_SCREEN") {
|
if (m_formname == "MT_DEATH_SCREEN") {
|
||||||
assert(m_client != 0);
|
assert(m_client != 0);
|
||||||
m_client->sendRespawn();
|
m_client->sendRespawn();
|
||||||
|
Loading…
Reference in New Issue
Block a user