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