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