Change greater than operations to greater than or equal to in is_pro
(#528)
This commit is contained in:
parent
d25e060d90
commit
daafb12363
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ end
|
|||
function ctf_stats.is_pro(name)
|
||||
local stats = ctf_stats.player(name)
|
||||
local kd = stats.kills / (stats.deaths == 0 and 1 or stats.deaths)
|
||||
return stats.score > 10000 and kd > 1.5
|
||||
return stats.score >= 10000 and kd >= 1.5
|
||||
end
|
||||
|
||||
ctf.register_on_join_team(function(name, tname)
|
||||
|
|
Loading…
Reference in a new issue