Skip to content

Commit

Permalink
spinren模式结束时显示的文本会根据是否到10行变化
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Aug 2, 2024
1 parent beff0c9 commit de4b73c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion parts/modes/spinren.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ return {
eventSet='sprintEff_40',
hook_drop=function(P)
if P.lastPiece.row==0 then
P:win('finish')
if P.stat.row<10 then
P:lose()
else
P:win('finish')
end
end
local up=MATH.clamp(22-P.stat.row+P.lastPiece.row,0,P.lastPiece.row)
P:pushLineList(get_lines(up,P))
Expand Down

0 comments on commit de4b73c

Please sign in to comment.