Small fraglimit fix
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401489
This commit is contained in:
parent
3c9a2414df
commit
beafe4411a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user