Show lobby for players if they are kicked during a game.

This commit is contained in:
lotodore
2007-10-27 20:29:46 +00:00
parent f372c2434a
commit bb64e07657
2 changed files with 9 additions and 2 deletions
+8 -2
View File
@@ -1126,9 +1126,15 @@ void mainWindowImpl::initGui(int speed)
void mainWindowImpl::showClientDialog()
{
if (mySession->getGameType() == Session::GAME_TYPE_NETWORK)
showNetworkStartDialog();
{
if (!myStartNetworkGameDialog->isVisible())
showNetworkStartDialog();
}
else if (mySession->getGameType() == Session::GAME_TYPE_INTERNET)
showLobbyDialog();
{
if (!myGameLobbyDialog->isVisible())
showLobbyDialog();
}
}
void mainWindowImpl::showNetworkStartDialog()