diff options
-rw-r--r-- | sorting_tubes.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sorting_tubes.lua b/sorting_tubes.lua index 0d6ec2a..18d27e4 100644 --- a/sorting_tubes.lua +++ b/sorting_tubes.lua @@ -15,8 +15,12 @@ if pipeworks.enable_mese_tube then local buttons_formspec = "" for i = 0, 5 do buttons_formspec = buttons_formspec .. fs_helpers.cycling_button(meta, - "image_button[7,"..(i)..";1,1", "l"..(i+1).."s", - {{text="",texture="pipeworks_button_off.png", addopts="false;false;pipeworks_button_interm.png"}, {text="",texture="pipeworks_button_on.png", addopts="false;false;pipeworks_button_interm.png"}}) + "image_button[7,"..(i+0.2)..";1,0.6", "l"..(i+1).."s", + { + {text="",texture="pipeworks_button_off.png", addopts="false;false;pipeworks_button_interm.png"}, + {text="",texture="pipeworks_button_on.png", addopts="false;false;pipeworks_button_interm.png"} + } + ) end meta:set_string("formspec", "size[8,11]".. |