From 7e3a322b0e8c177f2235caf8f669b2c0293805b0 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Tue, 8 Dec 2020 01:11:40 +0100 Subject: [PATCH] Remove useless check --- init.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init.lua b/init.lua index db78bbf..44810f2 100644 --- a/init.lua +++ b/init.lua @@ -1525,11 +1525,7 @@ local function get_init_items() for name, def in pairs(reg_items) do if name ~= "" and show_item(def) then cache_drops(name, def.drop) - - if not fuel_cache[name] then - cache_fuel(name) - end - + cache_fuel(name) cache_recipes(name) _preselect[name] = true