Merge pull request #6442 from RandomShaper/fix-action-release

Fix Input.action_release() marking action as pressed
This commit is contained in:
George Marques 2016-09-10 11:12:59 -03:00 committed by GitHub
commit 365f3d7a6e

View file

@ -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;
}