Only update avatars when in a game.
This commit is contained in:
@@ -460,6 +460,8 @@ void gameLobbyDialogImpl::addConnectedPlayer(unsigned playerId, QString playerNa
|
||||
}
|
||||
|
||||
checkPlayerQuantity();
|
||||
|
||||
if (inGame)
|
||||
refreshConnectedPlayerAvatars();
|
||||
}
|
||||
|
||||
@@ -474,6 +476,8 @@ void gameLobbyDialogImpl::updatePlayer(unsigned playerId, QString newPlayerName)
|
||||
}
|
||||
++it;
|
||||
}
|
||||
|
||||
if (inGame)
|
||||
refreshConnectedPlayerAvatars();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user