1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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.fixed_frame=OS::get_singleton()->get_fixed_frames();
action.idle_frame=OS::get_singleton()->get_idle_frames(); action.idle_frame=OS::get_singleton()->get_idle_frames();
action.pressed=true; action.pressed=false;
action_state[p_action]=action; action_state[p_action]=action;
} }