summaryrefslogtreecommitdiff
path: root/sorting_tubes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 18:52:39 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 18:52:39 -0400
commit5e26aa5f91dafb16f62a43daa688a33b6216e0b6 (patch)
tree8d7b53dc3ca0f08494b81e68475de376b3573dd9 /sorting_tubes.lua
parenta7c3908b6134b01e1447568d20e6801a373f1af8 (diff)
downloadpipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.gz
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.bz2
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.xz
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.zip
cache on/off button image refs and commonly-used label for same
Diffstat (limited to 'sorting_tubes.lua')
-rw-r--r--sorting_tubes.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/sorting_tubes.lua b/sorting_tubes.lua
index 18d27e4..e7e918d 100644
--- a/sorting_tubes.lua
+++ b/sorting_tubes.lua
@@ -17,8 +17,8 @@ if pipeworks.enable_mese_tube then
buttons_formspec = buttons_formspec .. fs_helpers.cycling_button(meta,
"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"}
+ pipeworks.button_off,
+ pipeworks.button_on
}
)
end