Remove useless code

This commit is contained in:
Jean-Patrick Guerrero 2020-07-16 03:01:57 +02:00
parent 14c1372550
commit 701c7ae690

View File

@ -1536,11 +1536,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 recipes_cache[name] then
cache_recipes(name)
end
cache_recipes(name)
_preselect[name] = true
end
end