Fixed VoteMenuToAll stock adding bots to list (bug 5253, r=asherkin).

This commit is contained in:
Ryan Stecker 2012-12-14 15:18:30 -05:00
parent 439986e3fe
commit c0b91dd107

View File

@ -506,7 +506,7 @@ stock bool:VoteMenuToAll(Handle:menu, time, flags=0)
for (new i=1; i<=MaxClients; i++)
{
if (!IsClientInGame(i))
if (!IsClientInGame(i) || IsFakeClient(i))
{
continue;
}