forked from cacklingfiend/lignumis
Fix startup crash with metal and stars
This commit is contained in:
parent
366a16f76d
commit
866007bb73
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ for _, technology in pairs(data.raw.technology) do
|
|||
if technology.unit and technology.unit.ingredients and not table.contains(Lignumis.science_blacklist, technology.name) then
|
||||
local ingredients = technology.unit.ingredients
|
||||
local noMatches = table.filter(ingredients, function(ingredient)
|
||||
return table.contains({ "wood-science-pack", "steam-science-pack" }, ingredient[1])
|
||||
return table.contains({ "wood-science-pack", "steam-science-pack", "nanite-science-pack", "quantum-science-pack", "ring-science-pack" }, ingredient[1])
|
||||
end)
|
||||
local yesMatches = table.filter(ingredients, function(ingredient)
|
||||
return table.contains({ "utility-science-pack", "production-science-pack", "space-science-pack" }, ingredient[1])
|
||||
|
|
Loading…
Add table
Reference in a new issue