summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 83f4aa0c..ecb91554 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -703,7 +703,7 @@ end
function mt:onTick()
self:_loadProto()
self:_doCompileTask()
- if os.clock() - self._clock >= 60 then
+ if os.clock() - self._clock >= 60 and not self:isWaitingCompile() then
self._clock = os.clock()
self:_testMemory()
end