mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-11 23:54:52 +09:00
Fixed autorank
This commit is contained in:
1 parent
a001afa19e
commit
fc73cf0d96
1 file changed
+1
-1
+1
-1
@@ -172,7 +172,7 @@ function Ranking.find_preset(player,tick)
|
||||
end
|
||||
local _rank = nil
|
||||
for _,rank in pairs(ranks) do
|
||||
if rank.power < current_rank.power then _rank = rank end
|
||||
if rank.power < current_rank.power or current_rank.power == -1 then _rank = rank end
|
||||
end
|
||||
if _rank then
|
||||
if _rank.name == default.name then
|
||||
|
||||
Reference in new issue
Block a user