diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-02-23 03:19:29 +0100 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-02-23 03:19:29 +0100 |
commit | 2738075181713e74d6f6540273415f5cd7f54cc3 (patch) | |
tree | f669b24b64f219c8a49c65140cf498d5f3dfd274 | |
parent | 315881ef5824f20c8a83cd3cd2462581fd1c4447 (diff) | |
parent | 39fdb88cde7407ce847aafdafaaa60c7e28396e8 (diff) |
Merge remote branch 'origin/master'
-rw-r--r-- | technic/frames.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/frames.lua b/technic/frames.lua index 0e095bd..f555368 100644 --- a/technic/frames.lua +++ b/technic/frames.lua @@ -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 |