aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index c61db16..2d50e26 100644
--- a/init.lua
+++ b/init.lua
@@ -8,7 +8,7 @@ local function check_tool(stack, node_groups, old_best_time)
local level = node_groups[group]
if level then
local this_time = groupdef.times[level]
- if this_time < best_time then
+ if this_time and this_time < best_time then
best_time = this_time
end
end