From 6cc471e986c694298716c257528c653395bd757d Mon Sep 17 00:00:00 2001
From: Zefram <zefram@fysh.org>
Date: Fri, 15 Aug 2014 13:25:46 +0200
Subject: [PATCH] Simplify music player interface

---
 technic/machines/register/common.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/technic/machines/register/common.lua b/technic/machines/register/common.lua
index 366009c..9e847c4 100644
--- a/technic/machines/register/common.lua
+++ b/technic/machines/register/common.lua
@@ -52,7 +52,7 @@
 			local item0 = stack:to_table()
 			if item0 then 
 				item0["count"] = "1"
-				pipeworks.tube_item(pos, pos, vector.new(x_velocity, 0, z_velocity), item0)
+				technic.tube_inject_item(pos, pos, vector.new(x_velocity, 0, z_velocity), item0)
 				stack:take_item(1)
 				inv:set_stack(output_name, i, stack)
 				return

--
Gitblit v1.8.0