"Just a matter of taste"

Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
This commit is contained in:
1F616EMO~nya 2024-07-26 14:03:49 +08:00 committed by GitHub
parent 98d6bbe897
commit bce1d818c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -223,7 +223,7 @@ local function furnace_node_timer(pos, elapsed)
elapsed = elapsed - el elapsed = elapsed - el
end end
if items_smelt ~= 0 then if items_smelt > 0 then
-- Play cooling sound -- Play cooling sound
minetest.sound_play("default_cool_lava", minetest.sound_play("default_cool_lava",
{ pos = pos, max_hear_distance = 16, gain = 0.07 * math.min(items_smelt, 7) }, true) { pos = pos, max_hear_distance = 16, gain = 0.07 * math.min(items_smelt, 7) }, true)