1
0
镜像自地址 https://github.com/mt-mods/pipeworks.git 已同步 2025-09-18 21:00:39 +02:00

Better way to catch that incoming nil, return a real value on the way out

这个提交包含在:
Vanessa Ezekowitz
2013-12-10 21:18:29 -05:00
父节点 ebfa12205a
当前提交 e4a7af5858

查看文件

@@ -28,6 +28,8 @@ end
--a function for determining which side of the node we are on
local function nodeside(node, tubedir)
if not tubedir or not node or not node.param2 then return "back" end
--get a vector pointing back
local backdir = minetest.facedir_to_dir(node.param2)