fixed sound position

master
Juraj Vajda 2016-11-25 23:36:32 +01:00
parent 2cc6a6732f
commit 653e73d880
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ function spawners_mobs.start_spawning(random_pos, how_many, mob_name, mod_prefix
if obj then
if sound_name then
minetest.sound_play(sound_name, {
random_pos = random_pos,
pos = random_pos,
max_hear_distance = 32,
gain = 5,
})