Fix crash when only ChemistryForYou and SE are active

This commit is contained in:
Simon Brodtmann 2025-10-16 10:07:54 +02:00
parent 5573e87b35
commit 413463705e
2 changed files with 1 additions and 2 deletions

View file

@ -667,7 +667,7 @@ data:extend({
order = "n",
enabled = false,
energy_required = 10,
ingredients = {{ type = "fluid", name = "nitrogen", amount = 50 }, { type = "fluid", name = "kr-oxygen", amount = 150 }},--should be made from Nitric acid but this works for now
ingredients = {{ type = "fluid", name = "kr-nitrogen", amount = 50 }, { type = "fluid", name = "kr-oxygen", amount = 150 }},--should be made from Nitric acid but this works for now
results = {{ type = "fluid", name = "nitrate", amount = 100 }},
},
{

View file

@ -858,5 +858,4 @@ if mods["space-exploration"] then
if mods["248k-Redux"] then
data.raw.technology["nuclear-waste-extraction"].unit.ingredients[#data.raw.technology["nuclear-waste-extraction"].unit.ingredients+1] = {"se-rocket-science-pack", 1}
end
data.raw.technology["trace-uranium-extraction"].unit.ingredients[#data.raw.technology["trace-uranium-extraction"].unit.ingredients+1] = {"se-rocket-science-pack", 1}
end