QTfrontend/net/newnetclient.cpp
changeset 8567 a31c453c6070
parent 8559 29e420194558
child 8720 5603527f9803
--- a/QTfrontend/net/newnetclient.cpp	Fri Feb 22 21:44:00 2013 -0500
+++ b/QTfrontend/net/newnetclient.cpp	Sat Feb 23 12:01:51 2013 +0400
@@ -490,9 +490,9 @@
                 emit connected();
             }
 
+            m_playersModel->addPlayer(lst[i]);
             emit nickAddedLobby(lst[i], false);
             emit chatStringLobby(lst[i], tr("%1 *** %2 has joined").arg('\x03').arg("|nick|"));
-            m_playersModel->addPlayer(lst[i]);
         }
         return;
     }
@@ -636,9 +636,9 @@
                     emit configAsked();
             }
 
+            m_playersModel->playerJoinedRoom(lst[i]);
             emit nickAdded(lst[i], isChief && (lst[i] != mynick));
             emit chatStringFromNet(tr("%1 *** %2 has joined the room").arg('\x03').arg(lst[i]));
-            m_playersModel->playerJoinedRoom(lst[i]);
         }
         return;
     }