forked from metin2/server
Fixed sectree not found while loading guild buildings
This commit is contained in:
parent
8579828ca6
commit
0101618d89
|
@ -815,6 +815,11 @@ CLand * CManager::FindLandByGuild(DWORD GID)
|
|||
|
||||
bool CManager::LoadObject(TObject * pTable, bool isBoot) // from DB
|
||||
{
|
||||
// Skip loading if the target map is not available on this core
|
||||
// Source: https://metin2.dev/topic/23614-solving-a-very-old-problem-what-most-people-ignore/#comment-163073
|
||||
if (!map_allow_find(pTable->lMapIndex))
|
||||
return false;
|
||||
|
||||
CLand * pkLand = FindLand(pTable->dwLandID);
|
||||
|
||||
if (!pkLand)
|
||||
|
|
Loading…
Reference in New Issue