整理代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
local Player=require"parts.player.player"
|
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 gameEnv0=require"parts.player.gameEnv0"
|
||||||
|
|
||||||
local rnd,max=math.random,math.max
|
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
|
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)
|
P:newNext(P.gameEnv.seqData)
|
||||||
if ENV.noInitSZO then
|
if ENV.noInitSZO then
|
||||||
for _=1,5 do
|
for _=1,5 do
|
||||||
|
|||||||
Reference in New Issue
Block a user