整理代码,freshTime改为倒计时,修复hold后锁延刷新次数错误问题

This commit is contained in:
MrZ626
2020-11-18 20:31:52 +08:00
parent 8291184ae6
commit 6bd0843dd5
3 changed files with 12 additions and 13 deletions

View File

@@ -443,7 +443,7 @@ function draw.norm(P)
gc.rectangle("fill",0,602,300*P.lockDelay/ENV.lock,6)--Lock delay indicator
end
local x=3
for _=1,min(ENV.freshLimit-P.freshTime,15)do
for _=1,min(P.freshTime,15)do
gc.rectangle("fill",x,615,14,5)
x=x+20
end