join game bugfix (thx coldz)

This commit is contained in:
doitux
2009-01-29 11:23:17 +00:00
parent e0ff6db98e
commit 7b853732b5
2 changed files with 36 additions and 36 deletions
@@ -159,7 +159,7 @@ void gameLobbyDialogImpl::joinGame()
{
assert(mySession);
QTreeWidgetItem *item = treeWidget_GameList->currentItem();
if (item)
if (!inGame && item)
{
unsigned gameId = item->data(0, Qt::UserRole).toUInt();
GameInfo info(mySession->getClientGameInfo(gameId));