垃圾行计时速度从GAME移至gameEnv

This commit is contained in:
MrZ626
2020-12-14 16:49:11 +08:00
parent a12df840a4
commit 020c87158c
15 changed files with 24 additions and 16 deletions

View File

@@ -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