mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix crash guiConfirmRegistration quit menu (#7313)
This commit is contained in:
parent
50c33d9638
commit
a292d19fd0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue