mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
Add info message when loading custom gamedata
This commit is contained in:
parent
33768740fa
commit
696d842b07
@ -651,7 +651,15 @@ bool CGameConfig::Reparse(char *error, size_t maxlength)
|
||||
if (g_LibSys.PathExists(path))
|
||||
{
|
||||
g_LibSys.PathFormat(path, sizeof(path), "custom/%s.txt", m_File);
|
||||
return EnterFile(path, error, maxlength);
|
||||
|
||||
auto success = EnterFile(path, error, maxlength);
|
||||
|
||||
if (success)
|
||||
{
|
||||
AMXXLOG_Log("[AMXX] Parsed custom gamedata override file: %s", path);
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -718,6 +726,8 @@ bool CGameConfig::Reparse(char *error, size_t maxlength)
|
||||
return false;
|
||||
}
|
||||
|
||||
AMXXLOG_Log("[AMXX] Parsed custom gamedata override file: %s", path);
|
||||
|
||||
customDir->NextEntry();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user