plugins/nominations.sp
changeset 2865 46801dbf4383
parent 2350 c27e177a39d7
child 3187 4ee1c5e7bbc9
     1.1 --- a/plugins/nominations.sp	Wed Nov 18 15:42:21 2009 -0800
     1.2 +++ b/plugins/nominations.sp	Wed Nov 18 15:44:51 2009 -0800
     1.3 @@ -280,7 +280,7 @@
     1.4  
     1.5  	decl String:map[64];
     1.6  	
     1.7 -	new Handle:excludeMaps;
     1.8 +	new Handle:excludeMaps = INVALID_HANDLE;
     1.9  	decl String:currentMap[32];
    1.10  	
    1.11  	if (GetConVarBool(g_Cvar_ExcludeOld))
    1.12 @@ -323,6 +323,11 @@
    1.13  	}
    1.14  	
    1.15  	SetMenuExitButton(g_MapMenu, true);
    1.16 +
    1.17 +	if (excludeMaps != INVALID_HANDLE)
    1.18 +	{
    1.19 +		CloseHandle(excludeMaps);
    1.20 +	}
    1.21  }
    1.22  
    1.23  public Handler_MapSelectMenu(Handle:menu, MenuAction:action, param1, param2)
    1.24 @@ -424,4 +429,4 @@
    1.25  	}
    1.26  	
    1.27  	return 0;
    1.28 -}
    1.29 \ No newline at end of file
    1.30 +}