Skip to content

Commit

Permalink
fix deprecated use of use_texture_alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Apr 4, 2021
1 parent 56f72f2 commit ce8f330
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions switches.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ minetest.register_node("digistuff:button", {
"digistuff_digibutton_sides.png",
"digistuff_digibutton_off.png"
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
legacy_wallmounted = true,
Expand Down Expand Up @@ -133,6 +134,7 @@ minetest.register_node("digistuff:button_off", {
"digistuff_digibutton_sides.png",
"digistuff_digibutton_off.png"
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
legacy_wallmounted = true,
Expand Down Expand Up @@ -178,6 +180,7 @@ minetest.register_node("digistuff:button_off_pushed", {
"digistuff_digibutton_sides.png",
"digistuff_digibutton_off.png"
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
legacy_wallmounted = true,
Expand Down Expand Up @@ -222,7 +225,8 @@ minetest.register_node("digistuff:button_on", {
"digistuff_digibutton_sides.png",
"digistuff_digibutton_sides.png",
"digistuff_digibutton_on.png"
},
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
legacy_wallmounted = true,
Expand Down Expand Up @@ -269,7 +273,8 @@ minetest.register_node("digistuff:button_on_pushed", {
"digistuff_digibutton_sides.png",
"digistuff_digibutton_sides.png",
"digistuff_digibutton_on.png"
},
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
legacy_wallmounted = true,
Expand Down

0 comments on commit ce8f330

Please sign in to comment.