修正解除自定义场地绘制高度限制后出现的其他衍生问题
“自定义场地页面”使用元表实现自动补充尺寸(编辑之后需要手动清空多余空行,目前仅一处)
This commit is contained in:
@@ -4,15 +4,12 @@ return{
|
||||
load=function()
|
||||
applyCustomGame()
|
||||
|
||||
for y=1,20 do
|
||||
if notEmptyLine(FIELD[1][y])then
|
||||
--Switch clear sprint mode on
|
||||
GAME.modeEnv.dropPiece=require'parts.eventsets.checkClearBoard'.dropPiece
|
||||
goto BREAK_clearMode
|
||||
end
|
||||
--Switch clear sprint mode on
|
||||
if #FIELD[1]>0 then
|
||||
GAME.modeEnv.dropPiece=require'parts.eventsets.checkClearBoard'.dropPiece
|
||||
else
|
||||
GAME.modeEnv.dropPiece=NULL
|
||||
end
|
||||
GAME.modeEnv.dropPiece=NULL
|
||||
::BREAK_clearMode::
|
||||
PLY.newPlayer(1)
|
||||
local AItype=GAME.modeEnv.opponent:sub(1,2)
|
||||
local AIlevel=tonumber(GAME.modeEnv.opponent:sub(-1))
|
||||
|
||||
Reference in New Issue
Block a user