Small fraglimit fix

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401489
This commit is contained in:
Michael McKoy 2007-09-26 04:03:22 +00:00
parent 3c9a2414df
commit beafe4411a

View File

@ -264,7 +264,12 @@ public Event_RoundEnd(Handle:event, const String:name[], bool:dontBroadcast)
public Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
if (!GetArraySize(g_MapList) && g_Cvar_Fraglimit != INVALID_HANDLE)
if (!GetArraySize(g_MapList) || g_Cvar_Fraglimit == INVALID_HANDLE)
{
return;
}
if (!GetConVarInt(g_Cvar_Fraglimit))
{
return;
}