summaryrefslogtreecommitdiff
path: root/technic
diff options
context:
space:
mode:
Diffstat (limited to 'technic')
-rw-r--r--technic/machines/register/recipes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/register/recipes.lua b/technic/machines/register/recipes.lua
index d30fd4f..f9e2458 100644
--- a/technic/machines/register/recipes.lua
+++ b/technic/machines/register/recipes.lua
@@ -51,7 +51,7 @@ local function register_recipe(typename, data)
end
technic.recipes[typename].recipes[index] = recipe
- if unified_inventory and technic.recipes[typename].output_size == 1 then
+ if have_ui and technic.recipes[typename].output_size == 1 then
unified_inventory.register_craft({
type = typename,
output = data.output,