From d8ec3f8bbee5c3c489e4c5740fc8c84449eb86c3 Mon Sep 17 00:00:00 2001
From: RealBadAngel <mk@realbadangel.pl>
Date: Thu, 25 Jul 2013 07:59:00 +0200
Subject: [PATCH] Deployer and node breaker are now moved to pipeworks.

---
 technic/machines/mv/grinder.lua |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/technic/machines/mv/grinder.lua b/technic/machines/mv/grinder.lua
index e993794..84710c9 100644
--- a/technic/machines/mv/grinder.lua
+++ b/technic/machines/mv/grinder.lua
@@ -239,8 +239,7 @@
 
 			-- The machine shuts down if we have nothing to grind 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