forked from Mirrorlandia_minetest/minetest
Fix crash guiConfirmRegistration quit menu (#7313)
This commit is contained in:
parent
50c33d9638
commit
a292d19fd0
@ -158,13 +158,13 @@ void GUIConfirmRegistration::drawMenu()
|
||||
|
||||
void GUIConfirmRegistration::closeMenu(bool goNext)
|
||||
{
|
||||
quitMenu();
|
||||
if (goNext) {
|
||||
m_client->confirmRegistration();
|
||||
} else {
|
||||
*m_aborted = true;
|
||||
infostream << "Connect aborted [Escape]" << std::endl;
|
||||
}
|
||||
quitMenu();
|
||||
}
|
||||
|
||||
void GUIConfirmRegistration::acceptInput()
|
||||
|
Loading…
Reference in New Issue
Block a user