refresh avatar not for network fix

This commit is contained in:
doitux committed 2007-06-11 13:23:51 +00:00
1 parent fa5133684b
commit dfffa16565
1 file changed
+1 -1
+1 -1
View File
@@ -802,7 +802,7 @@ void mainWindowImpl::callSettingsDialog() {
refreshPlayerName();
}
if(mySession->getCurrentGame()) {
if(mySession->getCurrentGame() && !mySession->isNetworkClientRunning()) {
HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand();
currentHand->getPlayerArray()[0]->setMyAvatar(mySettingsDialog->pushButton_HumanPlayerAvatar->getMyLink().toUtf8().constData());