Fix local construct_nodes

This commit is contained in:
cora 2022-11-12 14:00:38 +01:00
parent 8fa0371c63
commit 36a6a353a3

View File

@ -114,7 +114,7 @@ function mcl_structures.construct_nodes(p1,p2,nodes)
end
local function construct_nodes(pos,def,pr)
return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2))
return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2),def.construct_nodes)
end