mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
Now erase zone from the set and removed count like talked about
This commit is contained in:
parent
a9c3f67944
commit
c38ab3a445
1 changed files with 2 additions and 2 deletions
|
@ -206,8 +206,8 @@ bool Core::TerritoryMgr::removeTerritoryInstance( uint32_t instanceId )
|
||||||
|
|
||||||
m_instanceIdToZonePtrMap.erase( pZone->getGuId() );
|
m_instanceIdToZonePtrMap.erase( pZone->getGuId() );
|
||||||
|
|
||||||
if( m_instanceZoneSet.count( pZone ) )
|
|
||||||
m_instanceZoneSet.erase( pZone );
|
m_instanceZoneSet.erase( pZone );
|
||||||
|
m_zoneSet.erase( pZone );
|
||||||
|
|
||||||
if( isInstanceContentTerritory( pZone->getTerritoryId() ) )
|
if( isInstanceContentTerritory( pZone->getTerritoryId() ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue