summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/cClientHandle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index f13be381b..75efce3dc 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -263,6 +263,9 @@ void cClientHandle::Authenticate(void)
m_Player->Initialize(World);
StreamChunks();
m_State = csDownloadingWorld;
+
+ // Broadcast this player's spawning to all other players in the same chunk
+ m_Player->GetWorld()->BroadcastSpawn(*m_Player, this);
}