plugins/basecommands/map.sp
changeset 1592 ff10cfeaf5d2
parent 1580 e5198a9a458b
child 1606 4fb3959c2c96
     1.1 --- a/plugins/basecommands/map.sp	Tue Oct 16 17:29:06 2007 +0000
     1.2 +++ b/plugins/basecommands/map.sp	Tue Oct 16 18:37:24 2007 +0000
     1.3 @@ -85,7 +85,7 @@
     1.4  LoadMaps(Handle:menu)
     1.5  {
     1.6  	decl String:mapPath[256];
     1.7 -	BuildPath(Path_SM, mapPath, sizeof(mapPath), "configs/menu_maplist.ini");
     1.8 +	BuildPath(Path_SM, mapPath, sizeof(mapPath), "configs/adminmenu_maplist.ini");
     1.9  	
    1.10  	if (!FileExists(mapPath))
    1.11  	{	
    1.12 @@ -113,8 +113,6 @@
    1.13  		RemoveAllMenuItems(menu);
    1.14  	}
    1.15  
    1.16 -	LogMessage("[SM] Loading menu map list file [%s]", mapPath);
    1.17 -
    1.18  	new Handle:file = OpenFile(mapPath, "rt");
    1.19  	if (file == INVALID_HANDLE)
    1.20  	{
    1.21 @@ -183,4 +181,4 @@
    1.22    	CloseHandle(mapDir);
    1.23    	
    1.24    	return GetMenuItemCount(menu);
    1.25 -}
    1.26 \ No newline at end of file
    1.27 +}