aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-12-13 17:11:10 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-12-13 17:11:10 +0100
commit27a68c65221cec38085361ef342920031d47d27a (patch)
tree4a311489bd0ddf8f99c5ea09f7d0ff14517e01b1
parentad79c5a13e5932dd6c813ab95c0b00e242a588b0 (diff)
downloadautotool-27a68c65221cec38085361ef342920031d47d27a.tar.xz
Fixed crash
-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