mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
get rid of phone ringing sound effect
This commit is contained in:
parent
6dec410d29
commit
ec0e332918
@ -141,17 +141,3 @@ homedecor.register("telephone", {
|
||||
walkable = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "homedecor:telephone",
|
||||
label = "sfx",
|
||||
interval = 30,
|
||||
chance = 15,
|
||||
action = function(pos, node)
|
||||
minetest.sound_play("homedecor_telephone_ringing", {
|
||||
pos = pos,
|
||||
gain = 1.0,
|
||||
max_hear_distance = 5
|
||||
})
|
||||
end
|
||||
})
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user