From eff74fe8628f09243ed54dd132855ba9571b74b0 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Mon, 20 Aug 2018 19:46:26 +0200 Subject: [PATCH] Execute amxx.cfg before plugin_init to keep compatibility (#512) --- amxmodx/meta_api.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 32c81cfd..e0b19859 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -657,10 +657,11 @@ void C_ServerActivate_Post(edict_t *pEdictList, int edictCount, int clientMax) pPlayer->Init(pEdictList + i, i); } + CoreCfg.ExecuteMainConfig(); // Execute amxx.cfg + executeForwards(FF_PluginInit); executeForwards(FF_PluginCfg); - CoreCfg.ExecuteMainConfig(); // Execute amxx.cfg CoreCfg.ExecuteAutoConfigs(); // Execute configs created with AutoExecConfig native. CoreCfg.SetMapConfigTimer(6.1); // Prepare per-map configs to be executed 6.1 seconds later. // Original value which was used in admin.sma.