diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index e096b72d..1780f8ff 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -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") } diff --git a/plugins/mapsmenu.sma b/plugins/mapsmenu.sma index 189fc993..230e9099 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -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"))