We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955bb28 commit bd5c921Copy full SHA for bd5c921
mods/ctf/ctf_modebase/features.lua
@@ -699,7 +699,7 @@ return {
699
"5 captures, and at least 8,000 score to access the pro section."
700
if rank then
701
local captures_needed = math.max(0, 5 - (rank.flag_captures or 0))
702
- local score_needed = math.max(math.max(0, 8000 - (rank.score or 0)))
+ local score_needed = math.floor(math.max(0, 8000 - (rank.score or 0)))
703
local current_kd = math.floor((rank.kills or 0) / (rank.deaths or 1) * 10)
704
current_kd = current_kd / 10
705
deny_pro = deny_pro .. " You still need " .. captures_needed
0 commit comments