Fix duplicate recipes in resolve_aliases (?)

This commit is contained in:
Jean-Patrick Guerrero 2020-11-18 01:22:21 +01:00
parent d7619cd778
commit 09e73745fb
1 changed files with 2 additions and 3 deletions

View File

@ -1550,9 +1550,8 @@ local function resolve_aliases(hash)
local rcp_old = recipes_cache[oldname][i]
for j = 1, #recipes_cache[newname] do
local rcp_new = recipes_cache[newname][j]
rcp_new.type = nil
rcp_new.method = nil
local rcp_new = copy(recipes_cache[newname][j])
rcp_new.output = oldname
if table_eq(rcp_old, rcp_new) then
similar = true