Skip to content

Commit

Permalink
修复big模式统计行数可能超出200 close #682
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Apr 20, 2022
1 parent 718540d commit 73fc7c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parts/modes/big_h.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ return{
eventSet='big_h',
bg='cubes',bgm='push',
},
score=function(P)return{P.stat.row,P.stat.time}end,
score=function(P)return{math.min(P.stat.row,200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..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)
Expand Down
2 changes: 1 addition & 1 deletion parts/modes/big_n.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ return{
eventSet='big_n',
bg='bg2',bgm='push',
},
score=function(P)return{P.stat.row,P.stat.time}end,
score=function(P)return{math.min(P.stat.row,200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..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)
Expand Down

0 comments on commit 73fc7c0

Please sign in to comment.