O卡住的时候旋转不刷新锁定延迟
This commit is contained in:
@@ -119,7 +119,10 @@ local TRS={
|
|||||||
if y==P.imgY and((P:solid(x-1,y)or P:solid(x-1,y+1)))and(P:solid(x+2,y)or P:solid(x+2,y+1))then
|
if y==P.imgY and((P:solid(x-1,y)or P:solid(x-1,y+1)))and(P:solid(x+2,y)or P:solid(x+2,y+1))then
|
||||||
local D=P.spinSeq%100*10+d
|
local D=P.spinSeq%100*10+d
|
||||||
P.spinSeq=D
|
P.spinSeq=D
|
||||||
if D<100 then return end
|
if D<100 then
|
||||||
|
P:freshBlock(true,true)
|
||||||
|
return
|
||||||
|
end
|
||||||
for i=1,#OspinList do
|
for i=1,#OspinList do
|
||||||
local L=OspinList[i]
|
local L=OspinList[i]
|
||||||
if D==L[1]then
|
if D==L[1]then
|
||||||
@@ -144,8 +147,8 @@ local TRS={
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
P.spinSeq=0
|
P.spinSeq=0
|
||||||
|
P:freshBlock(true,true)
|
||||||
end
|
end
|
||||||
P:freshBlock(true,true)
|
|
||||||
end,--O
|
end,--O
|
||||||
{
|
{
|
||||||
[01]={{ 0, 1},{ 1, 0},{-2, 0},{-2,-1},{ 1, 2}},
|
[01]={{ 0, 1},{ 1, 0},{-2, 0},{-2,-1},{ 1, 2}},
|
||||||
|
|||||||
Reference in New Issue
Block a user