Defaults to mapcycle.txt now.

This commit is contained in:
David Anderson 2004-06-29 03:40:32 +00:00
parent 67fbc56618
commit f520743aa2
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ public plugin_init()
new maps_ini_file[64];
get_configsdir(maps_ini_file, 63);
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
if (!file_exists(maps_ini_file))
format(maps_ini_file, 63, "mapcycle.txt")
if ( loadSettings(maps_ini_file) )
set_task(15.0,"voteNextmap",987456,"",0,"b")
}

View File

@ -65,6 +65,8 @@ public plugin_init()
new maps_ini_file[64];
get_configsdir(maps_ini_file, 63);
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);
if (!file_exists(maps_ini_file))
format(maps_ini_file, 63, "mapcycle.txt")
load_settings(maps_ini_file)
g_cstrikeRunning = (is_running("cstrike") || is_running("czero"))