Skip to content

Commit

Permalink
Fix InputEventAction's is_action method ignoring exact_match pa…
Browse files Browse the repository at this point in the history
…rameter
  • Loading branch information
OverloadedOrama committed Jul 17, 2022
1 parent 87ca6a6 commit 38b5194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/input/input_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ bool InputEventAction::is_match(const Ref<InputEvent> &p_event, bool p_exact_mat
return false;
}

return p_event->is_action(action);
return p_event->is_action(action, p_exact_match);
}

bool InputEventAction::is_action(const StringName &p_action) const {
Expand Down

0 comments on commit 38b5194

Please sign in to comment.