整理代码

This commit is contained in:
MrZ626
2021-08-23 20:03:25 +08:00
parent 9408b592fd
commit 2432d57d70

View File

@@ -1,5 +1,5 @@
local Player=require"parts.player.player"
local seqGenerators=require"parts.player.seqGenerators"
local getSeqGen=require"parts.player.seqGenerators"
local gameEnv0=require"parts.player.gameEnv0"
local rnd,max=math.random,math.max
@@ -315,7 +315,7 @@ local function applyGameEnv(P)--Finish gameEnv processing
if ENV.nextCount==0 then ENV.nextPos=false end
P.newNext=coroutine.wrap(seqGenerators(P))
P.newNext=coroutine.wrap(getSeqGen(P))
P:newNext(P.gameEnv.seqData)
if ENV.noInitSZO then
for _=1,5 do