Fix Input.action_release() marking action as pressed

This commit is contained in:
Pedro J. Estébanez 2016-09-10 04:57:21 +02:00
parent 6f7b2d277f
commit fae6dbc7f3

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