diff options
author | Vincent Glize <vincentglize@hotmail.fr> | 2018-05-10 13:50:06 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-05-10 13:50:06 +0200 |
commit | a292d19fd0726cdd192469fbfc5f85770d5819e3 (patch) | |
tree | 508122d07e2236e385d0d34e6461c1a7b268d324 /src/gui/guiConfirmRegistration.cpp | |
parent | 50c33d9638c31e70e6111687b19d58ee990e744b (diff) | |
download | minetest-a292d19fd0726cdd192469fbfc5f85770d5819e3.tar.gz minetest-a292d19fd0726cdd192469fbfc5f85770d5819e3.tar.bz2 minetest-a292d19fd0726cdd192469fbfc5f85770d5819e3.zip |
Fix crash guiConfirmRegistration quit menu (#7313)
Diffstat (limited to 'src/gui/guiConfirmRegistration.cpp')
-rw-r--r-- | src/gui/guiConfirmRegistration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiConfirmRegistration.cpp b/src/gui/guiConfirmRegistration.cpp index 81033eebf..92ca94d42 100644 --- a/src/gui/guiConfirmRegistration.cpp +++ b/src/gui/guiConfirmRegistration.cpp @@ -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() |