mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-08 19:57: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() )
|
||||
|| ( 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