Execute amxx.cfg before plugin_init to keep compatibility (#512)
This commit is contained in:
parent
05b74111d3
commit
eff74fe862
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user