From fae6dbc7f3dccbf001b03395703979f79c6effd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Sat, 10 Sep 2016 04:57:21 +0200 Subject: [PATCH] Fix Input.action_release() marking action as pressed --- main/input_default.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/input_default.cpp b/main/input_default.cpp index d84b0b0f586..e5d8533739c 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -504,7 +504,7 @@ void InputDefault::action_release(const StringName& p_action){ action.fixed_frame=OS::get_singleton()->get_fixed_frames(); action.idle_frame=OS::get_singleton()->get_idle_frames(); - action.pressed=true; + action.pressed=false; action_state[p_action]=action; }