玩家lastClear属性升级为lastPiece,自定义模式花样更多了

This commit is contained in:
MrZ626
2020-11-07 01:34:13 +08:00
parent e08aeef6cb
commit 195429c67c
11 changed files with 146 additions and 145 deletions

View File

@@ -1,8 +1,9 @@
local format=string.format
local int=math.floor
local function tech_check_hard(P)
if #P.clearedRow>0 then
if not(P.lastClear.spin or P.lastClear.pc)then
local C=P.lastPiece
if C.row>0 then
if not(C.spin or C.pc)then
P:lose()
return
end