Fix incorrect score order in Dig Efficiency modes

This commit is contained in:
NOT_A_ROBOT
2022-03-08 16:55:48 +07:00
committed by MrZ_26
parent 9ee4af48da
commit 4f4988d7ef
4 changed files with 8 additions and 8 deletions

View File

@@ -4,8 +4,8 @@ return{
eventSet='dig_10l',
bg='bg1',bgm='way',
},
score=function(P)return{P.stat.time,P.stat.piece}end,
scoreDisp=function(D)return STRING.time(D[1]).." "..D[2].." Pieces"end,
score=function(P)return{P.stat.piece,P.stat.time}end,
scoreDisp=function(D)return D[1].." Pieces "..STRING.time(D[2]) end,
comp=function(a,b)return a[1]<b[1]or a[1]==b[1]and a[2]<b[2]end,
getRank=function(P)
if P.stat.dig<10 then return end