From f4d9a1e4e70185418d16328e5f733fed798c37c5 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Wed, 24 Jul 2013 12:39:09 +0200 Subject: [PATCH] Merge pull request #64 from hdastwb/mvidlecond --- technic/machines/mv/electric_furnace.lua | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/technic/machines/mv/electric_furnace.lua b/technic/machines/mv/electric_furnace.lua index a125d4b..c6a1651 100644 --- a/technic/machines/mv/electric_furnace.lua +++ b/technic/machines/mv/electric_furnace.lua @@ -262,8 +262,7 @@ -- The machine shuts down if we have nothing to smelt and no tube is connected -- or if we have nothing to send with a tube connected. - if (not output_tube_connected and inv:is_empty("src")) - or ( output_tube_connected and inv:is_empty("dst")) then + if inv:is_empty("src") and (not output_tube_connected or inv:is_empty("dst")) then next_state = 1 end ---------------------- -- Gitblit v1.8.0