]> git.lizzy.rs Git - Crafter.git/commitdiff
adjust fireworks gain
authoroilboi <47129783+oilboi@users.noreply.github.com>
Sat, 4 Jul 2020 11:53:15 +0000 (07:53 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Sat, 4 Jul 2020 11:53:15 +0000 (07:53 -0400)
mods/fireworks/init.lua

index 46e2bd70d160f35df9b973c4e71886e1f3d7c08c..b4e3567095682bb7fa05e6759333aa9eb0665ccd 100644 (file)
@@ -25,7 +25,7 @@ local function fireworks_pop(pos)
             texture = "smoke.png^[colorize:"..color..":255",
         })
     end
-    minetest.sound_play("fireworks_pop",{pos=pos,pitch=math.random(80,100)/100})
+    minetest.sound_play("fireworks_pop",{pos=pos,pitch=math.random(80,100)/100,gain=6.0})
 end