From 86e5b844709abb2902783b1c75fd2b00e2456bbb Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Thu, 6 Sep 2018 20:32:59 +0200 Subject: [PATCH] v1.13.3 Parameter 'side' bugfix --- releasenotes.md | 9 ++++++++- tubelib/tubes2.lua | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/releasenotes.md b/releasenotes.md index ab0c98f..121a6a1 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -2,10 +2,16 @@ +## V1.13.3 Beta (2018-09-06) + +### Fixes +- Parameter 'side' bugfix (used e.g. for on_push_item(...)) + + ## V1.13.2 Beta (2018-09-05) ### Changes -- Harvester now continues now at that position, where it last switched to faulty. +- Harvester continues now at that position, where it last switched to faulty. ### Fixes - Recipe bug for SaferLua Controller fixed @@ -44,6 +50,7 @@ + ------------------------------------------------------------- ## Vx.xx.x (2018-mm-dd) diff --git a/tubelib/tubes2.lua b/tubelib/tubes2.lua index e427995..1535056 100644 --- a/tubelib/tubes2.lua +++ b/tubelib/tubes2.lua @@ -67,7 +67,7 @@ function tubelib.get_neighbor_pos(pos, side) if ndir then npos, ndir = remote_node(npos, ndir) end - return npos, dir-1 + return npos, ndir-1 end return npos, facedir end