diff --git a/switches.lua b/switches.lua index 5aa0041..1e36429 100644 --- a/switches.lua +++ b/switches.lua @@ -63,6 +63,7 @@ digistuff.button_get_rules = function(node) end minetest.register_node("digistuff:button", { + use_texture_alpha = "clip", drawtype = "nodebox", tiles = { "digistuff_digibutton_sides.png", @@ -124,6 +125,7 @@ minetest.register_node("digistuff:button", { }) minetest.register_node("digistuff:button_off", { + use_texture_alpha = "clip", drawtype = "nodebox", tiles = { "digistuff_digibutton_sides.png", @@ -168,6 +170,7 @@ minetest.register_node("digistuff:button_off", { }) minetest.register_node("digistuff:button_off_pushed", { + use_texture_alpha = "clip", drawtype = "nodebox", tiles = { "digistuff_digibutton_sides.png", @@ -213,6 +216,7 @@ minetest.register_node("digistuff:button_off_pushed", { }) minetest.register_node("digistuff:button_on", { + use_texture_alpha = "clip", drawtype = "nodebox", tiles = { "digistuff_digibutton_sides.png", @@ -259,6 +263,7 @@ minetest.register_node("digistuff:button_on", { }) minetest.register_node("digistuff:button_on_pushed", { + use_texture_alpha = "clip", drawtype = "nodebox", tiles = { "digistuff_digibutton_sides.png",