summaryrefslogtreecommitdiff
path: root/core/input
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-20 13:26:50 +0200
committerGitHub <noreply@github.com>2021-05-20 13:26:50 +0200
commitf46a4841e7fffffdc8512155fcba8a03f50f7571 (patch)
tree21e9989d1453ddb915e36918a75ed6d71d429ac1 /core/input
parent42b6602f1d4b108cecb94b94c0d2b645acaebd4f (diff)
parent4219a4cb6fba8062abdfaea28e7ae04d42cfe7d7 (diff)
Merge pull request #48880 from akien-mga/codespell-2.0.0
Fix typos with codespell
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp
index 7421909650..424509eb47 100644
--- a/core/input/input_map.cpp
+++ b/core/input/input_map.cpp
@@ -166,7 +166,7 @@ void InputMap::action_add_event(const StringName &p_action, const Ref<InputEvent
ERR_FAIL_COND_MSG(p_event.is_null(), "It's not a reference to a valid InputEvent object.");
ERR_FAIL_COND_MSG(!input_map.has(p_action), _suggest_actions(p_action));
if (_find_event(input_map[p_action], p_event, true)) {
- return; // Already addded.
+ return; // Already added.
}
input_map[p_action].inputs.push_back(p_event);