mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fix another potantial bug.
This commit is contained in:
parent
0347571ee9
commit
a2b564eaaa
@ -215,7 +215,7 @@ public randomStep(index) {
|
|||||||
if (g_Team[index] == 0 && !(get_user_flags(index) & ADMIN_IMMUNITY)) {
|
if (g_Team[index] == 0 && !(get_user_flags(index) & ADMIN_IMMUNITY)) {
|
||||||
client_cmd(index, "%s", g_AutoAssignAck);
|
client_cmd(index, "%s", g_AutoAssignAck);
|
||||||
}
|
}
|
||||||
if (++index > MaxClients) {
|
if (++index >= MaxClients) {
|
||||||
return PLUGIN_HANDLED_MAIN
|
return PLUGIN_HANDLED_MAIN
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user