Skip to content

Commit

Permalink
properly sort half rates at music select for scoredisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 22, 2017
1 parent d7ac18b commit e09236e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ local function GetBestScoreByFilter(perc,CurRate)
if not rtTable[rates[1]] then return nil end
end

table.sort(rates)
table.sort(rates,function(a,b) a=a:gsub("x","") b=b:gsub("x","") return a<b end)
for i=#rates,1,-1 do
scores = rtTable[rates[i]]
local bestscore = 0
Expand Down

0 comments on commit e09236e

Please sign in to comment.