Mitigate the performance regression since fc2d2e5

This commit is contained in:
Jean-Patrick Guerrero
2019-02-11 23:52:31 +01:00
parent 3f44ae00d2
commit 4560457504
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ local function get_filtered_items(player)
local item = init_items[i]
local recipes = recipes_cache[item]
if fuel_cache[item] then
if not recipes and fuel_cache[item] then
recipes = table_merge(get_item_usages(item), recipes)
end