minor change
This commit is contained in:
parent
d0706045d5
commit
509a2ad03e
@ -556,7 +556,7 @@ public int GetClosestClient_option1(int targeteam)
|
||||
if (i != targethuman)
|
||||
continue;
|
||||
target_human_afk_counter++;
|
||||
int afk_cap = 15;
|
||||
int afk_cap = 9;
|
||||
if (target_human_afk_counter > afk_cap)
|
||||
{
|
||||
target_human_afk_counter = 0;
|
||||
@ -575,7 +575,7 @@ public int GetClosestClient_option1(int targeteam)
|
||||
if (enemy_dist < enemey_cap)
|
||||
dist_target += enemey_cap;
|
||||
}
|
||||
if (admins[i] || vips[i] || i == targethuman || i == target_enemy)
|
||||
if (admins[i] || vips[i] || i == target_enemy)
|
||||
dist_target /= 5;
|
||||
if (nearestdistance < 0 || dist_target < nearestdistance)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user