Fixed infinite loading screen when logging in with an invalid nickname
Fixes #2728.
This commit is contained in:
parent
c0c5fc9d73
commit
7c6d2d2eeb
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ std::pair<wesnothd_connection_ptr, config> open_connection(std::string host)
|
|||
|
||||
if(gui2::show_message(_("Warning"), warning_msg, gui2::dialogs::message::yes_no_buttons) != gui2::retval::OK) {
|
||||
return std::make_pair(wesnothd_connection_ptr(), config());
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue