summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/provider/diagnostic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/provider/diagnostic.lua b/script-beta/provider/diagnostic.lua
index c53f4635..9c2a7267 100644
--- a/script-beta/provider/diagnostic.lua
+++ b/script-beta/provider/diagnostic.lua
@@ -258,6 +258,7 @@ function m.checkWorkspaceDiag()
local sleepTime = passed * (100 - speedRate) / speedRate + m.sleepRest
m.sleepRest = 0.0
if sleepTime < 0.001 then
+ m.sleepRest = m.sleepRest + sleepTime
return
end
if sleepTime > 0.1 then