1
0
forked from metin2/server

1 Commits
0.2.1 ... 0.2.2

Author SHA1 Message Date
0101618d89 Fixed sectree not found while loading guild buildings 2024-03-25 07:01:22 +02:00

View File

@ -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)