summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-08-14 22:02:36 +0200
committerNovatux <nathanael.courant@laposte.net>2014-08-14 22:02:36 +0200
commitbf6fe237def901d71e7a4e78b9d66731129be0d6 (patch)
treee0f24682ef8fa8e248850efa0deba8f7cc9786a4
parent15db1d23ccb9010cd489e734d796d8d5a532d396 (diff)
downloadpipeworks-bf6fe237def901d71e7a4e78b9d66731129be0d6.tar
pipeworks-bf6fe237def901d71e7a4e78b9d66731129be0d6.tar.gz
pipeworks-bf6fe237def901d71e7a4e78b9d66731129be0d6.tar.bz2
pipeworks-bf6fe237def901d71e7a4e78b9d66731129be0d6.tar.xz
pipeworks-bf6fe237def901d71e7a4e78b9d66731129be0d6.zip
Fix typo
-rwxr-xr-xitem_transport.lua2
1 files changed, 1 insertions, 1 deletions
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 = {}