Archived
Update data.lua
Fix recipe enabling if IR is loaded
This commit is contained in:
1 parent
90499e48ec
commit
3c2e3eb6d6
1 file changed
+1
-1
@@ -125,7 +125,7 @@ for display,displaydata in pairs(DID.displays) do
|
||||
result = display,
|
||||
result_count = 1,
|
||||
category = "crafting",
|
||||
enabled = mods["IndustrialRevolution"] and (displaydata.IR_unlock == nil) or (displaydata.unlock == nil),
|
||||
enabled = (mods["IndustrialRevolution"] and (displaydata.IR_unlock == nil)) or (not mods["IndustrialRevolution"] and displaydata.unlock == nil),
|
||||
ingredients = displaydata.ingredients,
|
||||
energy_required = 1,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user