修复一处遗留逻辑hold和序列生成相关的错误
This commit is contained in:
@@ -1390,8 +1390,10 @@ function Player:popNext(ifhold)--Pop nextQueue to hand
|
|||||||
self:act_hardDrop()
|
self:act_hardDrop()
|
||||||
pressing[6]=false
|
pressing[6]=false
|
||||||
end
|
end
|
||||||
else
|
elseif self.holdQueue[1]then--Force using hold
|
||||||
self:hold()
|
self:hold()
|
||||||
|
else--Next queue is empty, force lose
|
||||||
|
self:lose(true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -256,9 +256,6 @@ local seqGenerators={
|
|||||||
if seq[1]then
|
if seq[1]then
|
||||||
P:getNext(rem(seq))
|
P:getNext(rem(seq))
|
||||||
else
|
else
|
||||||
if not(P.cur or P.nextQueue[1]or P.holdQueue[1])then
|
|
||||||
P:lose(true)
|
|
||||||
end
|
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user