mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-05 18:27:47 +00:00
Fixed making new zones
This commit is contained in:
parent
fb8208af1e
commit
3c65d76114
1 changed files with 2 additions and 1 deletions
|
@ -161,8 +161,9 @@ Core::ZonePtr Core::TerritoryMgr::createTerritoryInstance( uint32_t territoryTyp
|
||||||
auto pZone = make_Zone( territoryTypeId, getNextInstanceId(), pTeri->name, pPlaceName->name );
|
auto pZone = make_Zone( territoryTypeId, getNextInstanceId(), pTeri->name, pPlaceName->name );
|
||||||
pZone->init();
|
pZone->init();
|
||||||
|
|
||||||
m_territoryInstanceMap[pZone->getTerritoryId()][pZone->getGuId()] = pZone;
|
|
||||||
m_instanceIdToZonePtrMap[pZone->getGuId()] = pZone;
|
m_instanceIdToZonePtrMap[pZone->getGuId()] = pZone;
|
||||||
|
m_territoryInstanceMap[pZone->getTerritoryId()][pZone->getGuId()] = pZone;
|
||||||
|
m_zoneSet.insert( { pZone } );
|
||||||
|
|
||||||
return pZone;
|
return pZone;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue