Fix for when foundry is disabled in settings
This commit is contained in:
parent
afc504c789
commit
64d1305c45
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ local util = require("data-util");
|
||||||
local prereq = {"basic-chemistry"}
|
local prereq = {"basic-chemistry"}
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
table.insert(prereq, "steel-processing")
|
table.insert(prereq, "steel-processing")
|
||||||
elseif mods["bzfoundry2"] then
|
elseif util.is_foundry() then
|
||||||
table.insert(prereq, "foundry")
|
table.insert(prereq, "foundry")
|
||||||
elseif mods["aai-industry"] then
|
elseif mods["aai-industry"] then
|
||||||
table.insert(prereq, "automation")
|
table.insert(prereq, "automation")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue