From 638d2746992d09b2171885a0f139efe84a7bef1d Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Sun, 12 Apr 2020 18:18:32 -0400 Subject: [PATCH] Fix player being able to intialize running when directly against node --- player_input.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player_input.lua b/player_input.lua index 9851f5b..43bebc4 100644 --- a/player_input.lua +++ b/player_input.lua @@ -71,7 +71,7 @@ minetest.register_globalstep(function(dtime) run_discharge_timer = 0 end --initialize double tap run - if old_up == false and input.up == true then + if old_up == false and input.up == true and vel.x ~= 0 and vel.z ~= 0 then run_discharge_timer = 0 running = true state = 1 -- 2.44.0