Fixed multiple player spawn broadcasts.
This commit is contained in:
parent
007d668c1b
commit
e024278b02
@ -270,9 +270,6 @@ void cClientHandle::Authenticate(void)
|
|||||||
m_Player->Initialize(World);
|
m_Player->Initialize(World);
|
||||||
m_State = csAuthenticated;
|
m_State = csAuthenticated;
|
||||||
|
|
||||||
// Broadcast this player's spawning to all other players in the same chunk
|
|
||||||
m_Player->GetWorld()->BroadcastSpawnEntity(*m_Player, this);
|
|
||||||
|
|
||||||
cRoot::Get()->GetPluginManager()->CallHookPlayerSpawned(*m_Player);
|
cRoot::Get()->GetPluginManager()->CallHookPlayerSpawned(*m_Player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user