Skip to content

Commit

Permalink
Fix RTV count not decrementing on voter leave
Browse files Browse the repository at this point in the history
  • Loading branch information
infra committed Sep 18, 2022
1 parent 51c68fe commit e183652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/st-rockthevote.sp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public void OnClientDisconnect(int client)
if (g_Voted[client])
{
g_Voted[client] = false;
g_Votes--;
}

if (IsFakeClient(client))
Expand Down

0 comments on commit e183652

Please sign in to comment.