From ec9f92d98b88b13adada6250622b9a51f3705026 Mon Sep 17 00:00:00 2001
From: kpoppel <poulsen.kim@gmail.com>
Date: Tue, 27 Aug 2013 09:30:48 +0200
Subject: [PATCH] Merge pull request #82 from GloopMaster/patch-1

---
 technic/machines/mv/electric_furnace.lua |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/technic/machines/mv/electric_furnace.lua b/technic/machines/mv/electric_furnace.lua
index a125d4b..a0eff21 100644
--- a/technic/machines/mv/electric_furnace.lua
+++ b/technic/machines/mv/electric_furnace.lua
@@ -259,12 +259,11 @@
 		      end
 		   end
 		   meta:set_int("tube_time", tube_time)
-		   
-		   -- 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
-		   next_state = 1
+
+		-- The machine shuts down if we have nothing to smelt since we tube stuff
+		-- out while being idle.
+		if inv:is_empty("src") then
+			next_state = 1
 		end
 		----------------------
 		

--
Gitblit v1.8.0