mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
Call onEnter event after zone init packet have been sent
This commit is contained in:
parent
7a75b40ce6
commit
9b1940d0a5
2 changed files with 2 additions and 3 deletions
|
@ -1633,5 +1633,7 @@ void Player::sendZonePackets()
|
|||
if( getLastPing() == 0 )
|
||||
sendQuestInfo();
|
||||
|
||||
getCurrentZone()->onEnterTerritory( getAsPlayer() );
|
||||
|
||||
m_bMarkedForZoning = false;
|
||||
}
|
||||
|
|
|
@ -311,9 +311,6 @@ void Zone::pushActor( Entity::ActorPtr pActor )
|
|||
m_sessionSet.insert( pSession );
|
||||
m_playerMap[pPlayer->getId()] = pPlayer;
|
||||
updateCellActivity( cx, cy, 2 );
|
||||
|
||||
onEnterTerritory( pPlayer );
|
||||
|
||||
}
|
||||
else if( pActor->isBNpc() )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue