mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix crash guiConfirmRegistration quit menu (#7313)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user