mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
making sure basedir is set
This commit is contained in:
parent
923f3a987f
commit
de0cf4da9a
@ -243,6 +243,9 @@ int Spawn( edict_t *pent ) {
|
|||||||
amx_config.clear();
|
amx_config.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ###### Make sure basedir is set
|
||||||
|
get_localinfo("amxx_basedir" , "addons/amxx" );
|
||||||
|
|
||||||
// ###### Load modules
|
// ###### Load modules
|
||||||
int loaded = loadModules( "addons/amxx/modules.ini" );
|
int loaded = loadModules( "addons/amxx/modules.ini" );
|
||||||
attachModules();
|
attachModules();
|
||||||
|
Loading…
Reference in New Issue
Block a user