Retrieve log type in MetaAttach to allow log to be written earlier

This commit is contained in:
Arkshine
2015-07-18 09:55:13 +02:00
parent 83bc3f518b
commit 109b3481a7
3 changed files with 16 additions and 8 deletions

View File

@ -1477,6 +1477,7 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m
// ###### Initialize logging here
g_log_dir = get_localinfo("amxx_logs", "addons/amxmodx/logs");
g_log.SetLogType("amxx_logging");
// ###### Now attach metamod modules
// This will also call modules Meta_Query and Meta_Attach functions