规范代码,大量xxx=nil换成xxx=false
This commit is contained in:
@@ -5,7 +5,6 @@ return{
|
||||
drop=1e99,lock=1e99,
|
||||
holdCount=0,
|
||||
dropPiece=function(P)P:lose()end,
|
||||
task=nil,
|
||||
bg="bg1",bgm="new era",
|
||||
},
|
||||
pauseLimit=true,
|
||||
|
||||
@@ -61,7 +61,7 @@ return{
|
||||
PLY.newPlayer(1)
|
||||
local L=GAME.modeEnv.opponent
|
||||
if L~=0 then
|
||||
GAME.modeEnv.target=nil
|
||||
GAME.modeEnv.target=false
|
||||
if L<6 then
|
||||
PLY.newAIPlayer(2,AIBUILDER("9S",2*L))
|
||||
else
|
||||
|
||||
@@ -42,7 +42,7 @@ return{
|
||||
PLY.newPlayer(1)
|
||||
local L=GAME.modeEnv.opponent
|
||||
if L~=0 then
|
||||
GAME.modeEnv.target=nil
|
||||
GAME.modeEnv.target=false
|
||||
if L<6 then
|
||||
PLY.newAIPlayer(2,AIBUILDER("9S",2*L))
|
||||
else
|
||||
|
||||
@@ -7,7 +7,7 @@ local function check_LVup(P)
|
||||
--Stage 1: clear 3 techrash
|
||||
if T==12 then--Stage 2: swap color of S/Z & J/L
|
||||
P.waiting=30
|
||||
P.curMission=nil
|
||||
P.curMission=false
|
||||
|
||||
ENV.skin[1],ENV.skin[2]=ENV.skin[2],ENV.skin[1]
|
||||
ENV.skin[3],ENV.skin[4]=ENV.skin[4],ENV.skin[3]
|
||||
|
||||
Reference in New Issue
Block a user