From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Mon, 13 Apr 2020 00:18:20 +0000 (-0400) Subject: Adjust update of stream sound timer X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a14182cc27edb1edfbefb10bcbbcb256b4c204f2;p=crafter_client.git Adjust update of stream sound timer --- diff --git a/environment_effects.lua b/environment_effects.lua index c98247a..b68c60e 100644 --- a/environment_effects.lua +++ b/environment_effects.lua @@ -51,7 +51,7 @@ minetest.register_globalstep(function(dtime) --the water trickling timer water_trickling_timer = water_trickling_timer + dtime - if water_trickling_timer > 1 then + if water_trickling_timer > 0.4 then water_trickling_timer = 0 local is_water_near = minetest.find_node_near(pos, 3, {"main:waterflow"}) if is_water_near and not water_sound_handle then