垃圾行计时速度从GAME移至gameEnv
This commit is contained in:
@@ -39,6 +39,7 @@ return{
|
||||
mission=NULL,
|
||||
|
||||
life=0,
|
||||
garbageSpeed=1,
|
||||
pushSpeed=3,
|
||||
block=true,
|
||||
noTele=false,
|
||||
|
||||
@@ -10,7 +10,7 @@ local function updateLine(P)--Attacks, line pushing, cam moving
|
||||
A.time=A.time+1
|
||||
if not A.sent then
|
||||
if A.countdown>0 then
|
||||
A.countdown=max(A.countdown-GAME.garbageSpeed,0)
|
||||
A.countdown=max(A.countdown-P.gameEnv.garbageSpeed,0)
|
||||
end
|
||||
else
|
||||
if A.time>20 then
|
||||
|
||||
Reference in New Issue
Block a user