mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
Fix no sounds when colorlamp is on
This commit is contained in:
parent
289fa75f5c
commit
39584f7554
@ -124,6 +124,7 @@ for idx,color in ipairs(tColors) do
|
|||||||
|
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
light_source = minetest.LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
groups = {choppy=2, cracky=1, not_in_creative_inventory=1},
|
groups = {choppy=2, cracky=1, not_in_creative_inventory=1},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
drop = "tubelib_addons2:lamp"
|
drop = "tubelib_addons2:lamp"
|
||||||
|
@ -71,6 +71,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
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},
|
groups = {choppy=2, cracky=1, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
|
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
Loading…
Reference in New Issue
Block a user