summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index f97ce26c9..fa2c2124b 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -362,13 +362,14 @@ void cClientHandle::Authenticate(const AString & a_Name, const AString & a_UUID,
// Send experience
m_Player->SendExperience();
-
- m_Player->Initialize(*World);
- m_State = csAuthenticated;
// Send player list items
SendPlayerListItem(*m_Player, 0);
+ World->BroadcastPlayerListItem(*m_Player, 0);
World->SendPlayerList(m_Player);
+
+ m_Player->Initialize(*World);
+ m_State = csAuthenticated;
// Query player team
m_Player->UpdateTeam();