Modify sound arguments

This commit is contained in:
An0n3m0us 2020-08-06 18:17:09 +01:00
parent 6fe5b040c5
commit 76331929fe

View file

@ -159,7 +159,7 @@ local function furnace_node_timer(pos, elapsed)
end
-- Play cooling sound
minetest.sound_play("default_cool_lava",
{pos = pos, max_hear_distance = 16, gain = 0.1})
{pos = pos, max_hear_distance = 16, gain = 0.1}, true)
else
-- Item could not be cooked: probably missing fuel
update = true
@ -247,7 +247,7 @@ local function furnace_node_timer(pos, elapsed)
-- Play sound every 5 seconds while the furnace is active
if timer_elapsed == 0 or (timer_elapsed+1) % 5 == 0 then
minetest.sound_play("default_furnace_active",
{pos = pos, max_hear_distance = 16, gain = 1})
{pos = pos, max_hear_distance = 16, gain = 1}, true)
end
else
if fuellist and not fuellist[1]:is_empty() then