From: Novatux Date: Fri, 15 Aug 2014 13:35:42 +0000 (+0200) Subject: Fix mese tube formspec X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f8a8046a7b266cdd93a9281ebb4df8705f598f50;p=zefram%2Fminetest%2Fpipeworks.git Fix mese tube formspec --- diff --git a/tubes.lua b/tubes.lua index e7e3579..2822a10 100755 --- a/tubes.lua +++ b/tubes.lua @@ -263,12 +263,12 @@ if pipeworks.enable_mese_tube then "image[0,3;1,1;pipeworks_yellow.png]".. "image[0,4;1,1;pipeworks_blue.png]".. "image[0,5;1,1;pipeworks_red.png]".. - fs_helpers.cycling_button(meta, "button[7,0;1,1", "b1s", {"Off", "On"}).. - fs_helpers.cycling_button(meta, "button[7,1;1,1", "b2s", {"Off", "On"}).. - fs_helpers.cycling_button(meta, "button[7,2;1,1", "b3s", {"Off", "On"}).. - fs_helpers.cycling_button(meta, "button[7,3;1,1", "b4s", {"Off", "On"}).. - fs_helpers.cycling_button(meta, "button[7,4;1,1", "b5s", {"Off", "On"}).. - fs_helpers.cycling_button(meta, "button[7,5;1,1", "b6s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,0;1,1", "l1s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,1;1,1", "l2s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,2;1,1", "l3s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,3;1,1", "l4s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,4;1,1", "l5s", {"Off", "On"}).. + fs_helpers.cycling_button(meta, "button[7,5;1,1", "l6s", {"Off", "On"}).. "list[current_player;main;0,7;8,4;]") end pipeworks.register_tube("pipeworks:mese_tube", "Sorting Pneumatic Tube Segment", mese_plain_textures, mese_noctr_textures,