Fix typo
authorNovatux <nathanael.courant@laposte.net>
Thu, 14 Aug 2014 20:02:36 +0000 (22:02 +0200)
committerNovatux <nathanael.courant@laposte.net>
Thu, 14 Aug 2014 20:02:36 +0000 (22:02 +0200)
item_transport.lua

index 3a1821746c558472588ecc1be25dbc9ef77140d4..3e0f3b82d684272c299d3d88790353c3518f97e2 100755 (executable)
@@ -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 = {}