diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 1f031dc4..466c6a44 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -243,6 +243,9 @@ int Spawn( edict_t *pent ) { amx_config.clear(); } + // ###### Make sure basedir is set + get_localinfo("amxx_basedir" , "addons/amxx" ); + // ###### Load modules int loaded = loadModules( "addons/amxx/modules.ini" ); attachModules();