From 39584f75544021d0045eb8c9773f21473b70dd26 Mon Sep 17 00:00:00 2001 From: Andrey Kozlovskiy Date: Tue, 22 Jun 2021 18:00:58 +0300 Subject: [PATCH] Fix no sounds when colorlamp is on --- tubelib_addons2/colorlamp.lua | 1 + tubelib_addons2/colorlamp_ud.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/tubelib_addons2/colorlamp.lua b/tubelib_addons2/colorlamp.lua index fc2fa34..8d594f1 100644 --- a/tubelib_addons2/colorlamp.lua +++ b/tubelib_addons2/colorlamp.lua @@ -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" diff --git a/tubelib_addons2/colorlamp_ud.lua b/tubelib_addons2/colorlamp_ud.lua index 34bcdab..0d2cc35 100644 --- a/tubelib_addons2/colorlamp_ud.lua +++ b/tubelib_addons2/colorlamp_ud.lua @@ -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,