diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-02-07 17:21:35 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-02-07 17:21:35 +0100 |
commit | e97d42e20df04f7c23d9e21201a46772186e8b33 (patch) | |
tree | fc3b2372aec51146ed3c8dd9867e3bc1e1a878fe | |
parent | 660feea1479a67144b0363086ca6fbdc78785f36 (diff) | |
download | pipeworks-e97d42e20df04f7c23d9e21201a46772186e8b33.tar pipeworks-e97d42e20df04f7c23d9e21201a46772186e8b33.tar.gz pipeworks-e97d42e20df04f7c23d9e21201a46772186e8b33.tar.bz2 pipeworks-e97d42e20df04f7c23d9e21201a46772186e8b33.tar.xz pipeworks-e97d42e20df04f7c23d9e21201a46772186e8b33.zip |
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) |