Fixed Mem To Vet Promote

This commit is contained in:
Cooldude2606
2018-02-21 20:47:29 +00:00
parent a437611466
commit ed007ecf29

View File

@@ -194,9 +194,9 @@ function Ranking.find_preset(player,tick)
end
end
end
local _rank = nil
local _rank = current_rank
for _,rank in pairs(ranks) do
if rank.power < current_rank.power or current_rank.power == -1 then _rank = rank end
if rank.power < _rank.power or _rank.power == -1 then _rank = rank end
end
if _rank then
if _rank.name == default.name then