summaryrefslogtreecommitdiffstats
path: root/core/input_map.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2018-08-20 20:58:53 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2018-08-21 01:51:19 +0700
commit76adef27042b5185ab8a1db991cfff8ab872b928 (patch)
tree2dc46fd87193a0240ecad09a959e97a36db308e0 /core/input_map.cpp
parentc1bd768ca2d5fcd7c505b1af5e4de753799a3476 (diff)
downloadredot-engine-76adef27042b5185ab8a1db991cfff8ab872b928.tar.gz
Fix arg name in docs, some copy-paste errors
Diffstat (limited to 'core/input_map.cpp')
-rw-r--r--core/input_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input_map.cpp b/core/input_map.cpp
index d33f40cbcf..ffc8a39da5 100644
--- a/core/input_map.cpp
+++ b/core/input_map.cpp
@@ -44,7 +44,7 @@ void InputMap::_bind_methods() {
ClassDB::bind_method(D_METHOD("add_action", "action", "deadzone"), &InputMap::add_action, DEFVAL(0.5f));
ClassDB::bind_method(D_METHOD("erase_action", "action"), &InputMap::erase_action);
- ClassDB::bind_method(D_METHOD("action_set_deadzone", "deadzone"), &InputMap::action_set_deadzone);
+ ClassDB::bind_method(D_METHOD("action_set_deadzone", "action", "deadzone"), &InputMap::action_set_deadzone);
ClassDB::bind_method(D_METHOD("action_add_event", "action", "event"), &InputMap::action_add_event);
ClassDB::bind_method(D_METHOD("action_has_event", "action", "event"), &InputMap::action_has_event);
ClassDB::bind_method(D_METHOD("action_erase_event", "action", "event"), &InputMap::action_erase_event);