diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-12-18 22:07:53 +0000 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-12-18 22:07:53 +0000 |
commit | d659cb38b32640656071c4cd2eddcbd97af36bf3 (patch) | |
tree | 21c3382c90857fa0837c984904a74ca73a7f9bf2 | |
parent | 8fa259c93fbef467822f710a33537a76f608b7cb (diff) |
item_transport.lua: read extra multimode parameter from go_next callback
-rw-r--r-- | item_transport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item_transport.lua b/item_transport.lua index 551db07..8a92bdb 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -277,7 +277,7 @@ luaentity.register_entity("pipeworks:tubed_item", { end if moved then - local found_next, new_velocity = go_next(self.start_pos, velocity, stack, self.owner) -- todo: color + local found_next, new_velocity, multimode = go_next(self.start_pos, velocity, stack, self.owner) -- todo: color local rev_vel = vector.multiply(velocity, -1) local rev_dir = vector.direction(self.start_pos,vector.add(self.start_pos,rev_vel)) local rev_node = minetest.get_node(vector.round(vector.add(self.start_pos,rev_dir))) |