干旱2进入就报错
This commit is contained in:
@@ -33,7 +33,9 @@ local gameEnv0={
|
|||||||
next=6,
|
next=6,
|
||||||
hold=true,oncehold=true,
|
hold=true,oncehold=true,
|
||||||
ospin=true,
|
ospin=true,
|
||||||
sequence="bag",bag={1,2,3,4,5,6,7},
|
sequence="bag",
|
||||||
|
freshMethod=NULL,
|
||||||
|
bag={1,2,3,4,5,6,7},
|
||||||
mission=NULL,
|
mission=NULL,
|
||||||
face=NULL,skin=NULL,
|
face=NULL,skin=NULL,
|
||||||
|
|
||||||
@@ -1239,6 +1241,8 @@ local function prepareSequence(P)--Call freshPrepare and set newNext
|
|||||||
freshPrepare[ENV.sequence](P)
|
freshPrepare[ENV.sequence](P)
|
||||||
P.newNext=freshMethod[ENV.sequence]
|
P.newNext=freshMethod[ENV.sequence]
|
||||||
else
|
else
|
||||||
|
print(type(ENV.sequence))
|
||||||
|
print(type(ENV.freshMethod))
|
||||||
assert(type(ENV.sequence)=="function"and type(ENV.freshMethod)=="function","wrong sequence generator code")
|
assert(type(ENV.sequence)=="function"and type(ENV.freshMethod)=="function","wrong sequence generator code")
|
||||||
ENV.sequence(P)
|
ENV.sequence(P)
|
||||||
P.newNext=ENV.freshMethod
|
P.newNext=ENV.freshMethod
|
||||||
|
|||||||
Reference in New Issue
Block a user