修复pc练习模式可以在场地未出现时落块
This commit is contained in:
@@ -5,15 +5,11 @@ local PCbase=require"parts.modes.PCbase"
|
||||
local PClist=require"parts.modes.PClist"
|
||||
|
||||
local function task_PC(P)
|
||||
local D=P.modeData
|
||||
while true do
|
||||
YIELD()
|
||||
D.counter=D.counter+1
|
||||
if D.counter==26 then
|
||||
local base=PCbase[D.type]
|
||||
P:pushLineList(base[P.holeRND:random(#base)],D.symmetry)
|
||||
end
|
||||
end
|
||||
P.control=false
|
||||
for _=1,26 do YIELD()end
|
||||
P.control=true
|
||||
local base=PCbase[P.modeData.type]
|
||||
P:pushLineList(base[P.holeRND:random(#base)],P.modeData.symmetry)
|
||||
end
|
||||
local function check(P)
|
||||
local f=P.field
|
||||
|
||||
@@ -8,15 +8,11 @@ local PCtype={
|
||||
1,2,3,
|
||||
}
|
||||
local function task_PC(P)
|
||||
local D=P.modeData
|
||||
while true do
|
||||
D.counter=D.counter+1
|
||||
if D.counter==26 then
|
||||
local base=PCbase[D.type]
|
||||
P:pushLineList(base[P.holeRND:random(#base)],D.symmetry)
|
||||
end
|
||||
YIELD()
|
||||
end
|
||||
P.control=false
|
||||
for _=1,26 do YIELD()end
|
||||
P.control=true
|
||||
local base=PCbase[P.modeData.type]
|
||||
P:pushLineList(base[P.holeRND:random(#base)],P.modeData.symmetry)
|
||||
end
|
||||
local function check(P)
|
||||
local r=P.field
|
||||
|
||||
Reference in New Issue
Block a user