Fix another potantial bug.

This commit is contained in:
Arkshine committed 2014-07-20 17:48:05 +02:00
1 parent 0347571ee9
commit a2b564eaaa
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ public randomStep(index) {
if (g_Team[index] == 0 && !(get_user_flags(index) & ADMIN_IMMUNITY)) {
client_cmd(index, "%s", g_AutoAssignAck);
}
if (++index > MaxClients) {
if (++index >= MaxClients) {
return PLUGIN_HANDLED_MAIN
}
}