Fix mese tube formspec
authorNovatux <nathanael.courant@laposte.net>
Fri, 15 Aug 2014 13:35:42 +0000 (15:35 +0200)
committerNovatux <nathanael.courant@laposte.net>
Fri, 15 Aug 2014 13:35:42 +0000 (15:35 +0200)
tubes.lua

index e7e35794a04109f1dfcda8c7f2cfcbdad9881820..2822a10709d19e35cdb547ac3b80f7b56dcd4874 100755 (executable)
--- 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,