summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 3c028f2..e26ce09 100644
--- a/init.lua
+++ b/init.lua
@@ -987,7 +987,7 @@ doc.add_category("tools", {
end
realuses = uses * math.pow(3, maxlevel)
end
- if v.times then
+ if v.times and #v.times > 1 then
for rating, time in pairs(v.times) do
local realtime = time / maxlevel
if mintime == nil or realtime < mintime then