diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-02-07 15:36:43 -0800 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-02-07 15:36:43 -0800 |
commit | 26422fec7a7f84833072f151bb0cf39721447245 (patch) | |
tree | ef039918ed336f543f0ff0b145ff6c54d1c69f51 | |
parent | 8513f4a8813a36fce61e306621fa333510818fbc (diff) | |
parent | e97d42e20df04f7c23d9e21201a46772186e8b33 (diff) | |
download | pipeworks-26422fec7a7f84833072f151bb0cf39721447245.tar pipeworks-26422fec7a7f84833072f151bb0cf39721447245.tar.gz pipeworks-26422fec7a7f84833072f151bb0cf39721447245.tar.bz2 pipeworks-26422fec7a7f84833072f151bb0cf39721447245.tar.xz pipeworks-26422fec7a7f84833072f151bb0cf39721447245.zip |
Merge pull request #19 from Novatux/master
Bugfix
-rw-r--r-- | tubes.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -332,6 +332,7 @@ register_tube("pipeworks:mese_tube","Mese pneumatic tube segment",mese_plain_tex local meta=minetest.env:get_meta(pos) local i for key,_ in pairs(fields) do i=key end + if i==nil then return end i=string.sub(i,-1) newstate=1-meta:get_int("l"..i.."s") meta:set_int("l"..i.."s",newstate) |