From bce1d818c2dd5e87cbc5125ff4d8383ace9304a8 Mon Sep 17 00:00:00 2001 From: 1F616EMO~nya Date: Fri, 26 Jul 2024 14:03:49 +0800 Subject: [PATCH] "Just a matter of taste" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> --- mods/default/furnace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/furnace.lua b/mods/default/furnace.lua index a397bda5..315c32c7 100644 --- a/mods/default/furnace.lua +++ b/mods/default/furnace.lua @@ -223,7 +223,7 @@ local function furnace_node_timer(pos, elapsed) elapsed = elapsed - el end - if items_smelt ~= 0 then + if items_smelt > 0 then -- Play cooling sound minetest.sound_play("default_cool_lava", { pos = pos, max_hear_distance = 16, gain = 0.07 * math.min(items_smelt, 7) }, true)