tsd_u中结束游戏的重复T2不计入成绩
This commit is contained in:
@@ -3,11 +3,11 @@ local function check_tsd(P)
|
|||||||
local C=P.lastPiece
|
local C=P.lastPiece
|
||||||
if C.row>0 then
|
if C.row>0 then
|
||||||
if C.id==5 and C.row==2 and C.spin then
|
if C.id==5 and C.row==2 and C.spin then
|
||||||
P.modeData.tsd=P.modeData.tsd+1
|
|
||||||
if TABLE.find(P.modeData.history,C.centX)then
|
if TABLE.find(P.modeData.history,C.centX)then
|
||||||
P:showText("STACK",0,-140,40,'flicker',.3)
|
P:showText("STACK",0,-140,40,'flicker',.3)
|
||||||
P:lose()
|
P:lose()
|
||||||
else
|
else
|
||||||
|
P.modeData.tsd=P.modeData.tsd+1
|
||||||
table.insert(P.modeData.history,1,C.centX)
|
table.insert(P.modeData.history,1,C.centX)
|
||||||
P.modeData.history[5]=nil
|
P.modeData.history[5]=nil
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user