diff --git a/server/gameserver/mapmgr.cc b/server/gameserver/mapmgr.cc index 2ad0bbb..cb4624e 100644 --- a/server/gameserver/mapmgr.cc +++ b/server/gameserver/mapmgr.cc @@ -3,6 +3,7 @@ #include "mapmgr.h" #include "room.h" #include "mapinstance.h" +#include "metamgr.h" void MapMgr::Init() { @@ -12,7 +13,7 @@ void MapMgr::Init() map_instance->Init(); instance_hash_[map_instance->map_id] = map_instance; } - { + if (MetaMgr::Instance()->GetMap(3001)) { MapInstance* map_instance = new MapInstance(); map_instance->map_id = 3001; map_instance->Init();