FunMode: Don't show knife count if vote is active

This commit is contained in:
Obuss 2018-09-02 14:35:08 -05:00
parent 15d6efe59f
commit 6e3b10fc05

View File

@ -492,6 +492,9 @@ public Action Timer_UpdateKnives(Handle hThis)
if (!g_bEnabled)
return Plugin_Continue;
if (IsVoteInProgress())
return Plugin_Continue;
for (int i = 1; i <= MaxClients; i++)
{
if (!IsValidClient(i) || IsFakeClient(i))