Allow adding players when using enter server dialog
This commit is contained in:
parent
b411f8c60d
commit
c3b2eaf3e2
@ -228,13 +228,6 @@ void OnlineScreen::eventCallback(Widget* widget, const std::string& name,
|
||||
else if (selection == "enter-address")
|
||||
{
|
||||
m_entered_server = nullptr;
|
||||
if (NetworkConfig::get()->isAddingNetworkPlayers())
|
||||
{
|
||||
core::stringw msg =
|
||||
_("No player available for connecting to server.");
|
||||
MessageQueue::add(MessageQueue::MT_ERROR, msg);
|
||||
return;
|
||||
}
|
||||
new EnterAddressDialog(&m_entered_server);
|
||||
}
|
||||
} // eventCallback
|
||||
|
Loading…
Reference in New Issue
Block a user