mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-22 14:43:45 +01:00
Play sounds locally
This commit is contained in:
parent
db13faa969
commit
f5cd37cd63
@ -351,7 +351,7 @@ core.register_entity("drawers:visual", {
|
|||||||
|
|
||||||
play_interact_sound = function(self)
|
play_interact_sound = function(self)
|
||||||
core.sound_play("drawers_interact", {
|
core.sound_play("drawers_interact", {
|
||||||
pos = self.pos,
|
pos = self.object:get_pos(),
|
||||||
max_hear_distance = 6,
|
max_hear_distance = 6,
|
||||||
gain = 2.0
|
gain = 2.0
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user