From 27a68c65221cec38085361ef342920031d47d27a Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sun, 13 Dec 2020 17:11:10 +0100 Subject: Fixed crash --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3