From bf6fe237def901d71e7a4e78b9d66731129be0d6 Mon Sep 17 00:00:00 2001 From: Novatux Date: Thu, 14 Aug 2014 22:02:36 +0200 Subject: [PATCH] Fix typo --- item_transport.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/item_transport.lua b/item_transport.lua index 3a18217..3e0f3b8 100755 --- a/item_transport.lua +++ b/item_transport.lua @@ -254,7 +254,7 @@ local function go_next(pos, velocity, stack) local tube_priority = (tube_def and tube_def.priority) or 100 if tubedevice > 0 and tube_priority >= max_priority then if not tube_def or not tube_def.can_insert or - tubedef.can_insert(npos, node, stack, vect) then + tube_def.can_insert(npos, node, stack, vect) then if tube_priority > max_priority then max_priority = tube_priority next_positions = {}