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