Merge remote branch 'origin/master'

This commit is contained in:
RealBadAngel 2013-02-23 03:19:29 +01:00
commit 2738075181
1 changed files with 2 additions and 2 deletions

View File

@ -373,8 +373,8 @@ function move_nodes_vect(poslist,vect)
end
for _,obj in ipairs(objects) do
obj:setpos(addVect(obj:getpos(),vect))
if obj:get_luaentity().name == "pipeworks:tubed_item" then
le=obj:get_luaentity()
le=obj:get_luaentity()
if le and le.name == "pipeworks:tubed_item" then
le.start_pos=addVect(le.start_pos,vect)
end
end