diff --git a/src/map.cpp b/src/map.cpp index ff823af94aaf05bf24da6d4650f17f515407134f..2d16710b1812cad33a25617557e662cf19aca675 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -5136,7 +5136,8 @@ MapSector* ServerMap::loadSectorMeta(std::string dirname) <<fullpath<<" doesn't exist but directory does." <<" Continuing with a sector with no metadata." <<std::endl; - sector = createSector(p2d); + sector = new ServerMapSector(this, p2d); + m_sectors.insert(p2d, sector); } else throw FileNotGoodException("Cannot open sector metafile");