Fix no sounds when colorlamp is on

This commit is contained in:
Andrey Kozlovskiy 2021-06-22 18:00:58 +03:00
parent 289fa75f5c
commit 39584f7554
2 changed files with 2 additions and 0 deletions

@ -124,6 +124,7 @@ for idx,color in ipairs(tColors) do
paramtype = 'light',
light_source = minetest.LIGHT_MAX,
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, not_in_creative_inventory=1},
is_ground_content = false,
drop = "tubelib_addons2:lamp"

@ -71,6 +71,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, not_in_creative_inventory=1, ud_param2_colorable = 1},
on_construct = unifieddyes.on_construct,