清除自定义游戏的老版本残留无用代码,移除bagLen变量,直接用bagLine保存包间隔块数

This commit is contained in:
MrZ626
2021-05-25 01:10:39 +08:00
parent 37fb89bae0
commit 30297385af
4 changed files with 12 additions and 19 deletions

View File

@@ -311,11 +311,7 @@ local function applyGameEnv(P)--Finish gameEnv processing
ENV.arr=max(ENV.arr,ENV.minarr)
ENV.sdarr=max(ENV.sdarr,ENV.minsdarr)
if ENV.sequence~='bag'and ENV.sequence~='loop'then
ENV.bagLine=false
else
ENV.bagLen=#ENV.seqData
end
ENV.bagLine=(ENV.sequence=='bag'or ENV.sequence=='loop')and #ENV.seqData
if ENV.nextCount==0 then ENV.nextPos=false end