mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #6442 from RandomShaper/fix-action-release
Fix Input.action_release() marking action as pressed
This commit is contained in:
commit
365f3d7a6e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user