Skip to content

Commit e183652

Browse files
author
infra
committed
Fix RTV count not decrementing on voter leave
1 parent 51c68fe commit e183652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/sourcemod/scripting/st-rockthevote.sp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public void OnClientDisconnect(int client)
196196
if (g_Voted[client])
197197
{
198198
g_Voted[client] = false;
199+
g_Votes--;
199200
}
200201

201202
if (IsFakeClient(client))

0 commit comments

Comments
 (0)