1
0

Update data.lua

Fix recipe enabling if IR is loaded
This commit is contained in:
Deadlock989
2020-11-22 09:19:42 +00:00
committed by GitHub
parent 90499e48ec
commit 3c2e3eb6d6
+1 -1
View File
@@ -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,
}