]> git.lizzy.rs Git - crafter_client.git/commitdiff
Adjust the sensitivity for double tap sprint
authoroilboi <47129783+oilboi@users.noreply.github.com>
Fri, 10 Apr 2020 03:31:16 +0000 (23:31 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Fri, 10 Apr 2020 03:31:16 +0000 (23:31 -0400)
init.lua

index 9093c704f234858799a9a3559c3769d60ae73413..a493107abc96b4898df7554f52ca98760f55aed1 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -128,7 +128,7 @@ minetest.register_globalstep(function(dtime)
        end
        --check if new input of walking forwards
        if input.up and input.down == false and input.sneak == false and old_up == false and running == false and run_discharge_timer <= 0 then
-               run_discharge_timer = 0.5
+               run_discharge_timer = 0.2
        end
        --save old value
        old_up = input.up