]> git.lizzy.rs Git - crafter_client.git/commitdiff
Adjust update of stream sound timer
authoroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 13 Apr 2020 00:18:20 +0000 (20:18 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 13 Apr 2020 00:18:20 +0000 (20:18 -0400)
environment_effects.lua

index c98247a43e09c5c3a5416f849206c04847c41038..b68c60e4b75fd520760edca08fd7056b2b2e34fd 100644 (file)
@@ -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