mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-09 04:07:46 +00:00
Fixed an issue where offline chars were not removed properly
This commit is contained in:
parent
607143ea7c
commit
0d4b846e79
1 changed files with 2 additions and 2 deletions
|
@ -501,8 +501,8 @@ bool Core::Zone::update( uint32_t currTime )
|
||||||
if( ( !pSession->getPlayer()->getCurrentZone() )
|
if( ( !pSession->getPlayer()->getCurrentZone() )
|
||||||
|| ( pSession->getPlayer()->getCurrentZone() != shared_from_this() ) )
|
|| ( pSession->getPlayer()->getCurrentZone() != shared_from_this() ) )
|
||||||
{
|
{
|
||||||
// if( pSession->getPlayer()->getCell() )
|
if( pSession->getPlayer()->getCell() )
|
||||||
// removeActor( pSession->getPlayer() );
|
removeActor( pSession->getPlayer() );
|
||||||
|
|
||||||
it = m_sessionSet.erase( it );
|
it = m_sessionSet.erase( it );
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue