Skip to content

Commit 96dca7e

Browse files
authored
Fix autocrafter crafting bug (#108)
1 parent c87522c commit 96dca7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autocrafter.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ local function get_matching_craft(output_name, example_recipe)
5757
end
5858
if best_score < score then
5959
best_index = i
60+
best_score = score
6061
end
6162
end
6263

0 commit comments

Comments
 (0)