diff options
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index ff823af94..2d16710b1 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"); |