Fixed amb109 - mapsmenu now checks mapcyclefile cvar before reverting to mapcycle.txt
This commit is contained in:
parent
a3342213b5
commit
ce526ac432
@ -68,6 +68,9 @@ public plugin_init()
|
||||
get_configsdir(maps_ini_file, 63);
|
||||
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
|
||||
|
||||
if (!file_exists(maps_ini_file))
|
||||
get_cvar_string("mapcyclefile", maps_ini_file, sizeof(maps_ini_file) - 1);
|
||||
|
||||
if (!file_exists(maps_ini_file))
|
||||
format(maps_ini_file, 63, "mapcycle.txt")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user