From 4a1c565b62848e42d7f4a54adcc9cde03350b12a Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Wed, 15 Oct 2008 20:42:47 +1300 Subject: [PATCH] Updated rockthevote to use new MaxClients variable --- plugins/rockthevote.sp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/rockthevote.sp b/plugins/rockthevote.sp index 454217a11..dcb03c614 100644 --- a/plugins/rockthevote.sp +++ b/plugins/rockthevote.sp @@ -90,8 +90,7 @@ public OnMapStart() g_InChange = false; /* Handle late load */ - new maxclients = GetMaxClients(); - for (new i=1; i<=maxclients; i++) + for (new i=1; i<=MaxClients; i++) { if (IsClientConnected(i)) {