]> git.lizzy.rs Git - Crafter.git/commitdiff
Fix sound buffer
authoroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 6 Jul 2020 15:44:02 +0000 (11:44 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 6 Jul 2020 15:44:02 +0000 (11:44 -0400)
mods/train/init.lua

index 9998806eb04d47c3f25068bd5aacabe39685ada9..ff6b8e46bd7894d33dc03e069ed853a6e25aca4d 100644 (file)
@@ -829,7 +829,7 @@ local function do_craft_effects(pos)
                        end
                end
                minetest.sound_play("steam_release",{pos=pos,gain=1,max_hear_distance=128})
-               minetest.after(1.95, function()
+               minetest.after(1, function()
                        buffer_pool[hash_pos] = nil
                end)
        end)