diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-21 00:08:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 00:08:05 +0200 |
commit | 35d232b10018899261253aa13249fae58d08be9d (patch) | |
tree | e697b2c3b071d8e1f78d7a885a5378c179ca13bf /core | |
parent | 6b6e3bdce831417a3bec0e59571adf5efceda1f1 (diff) | |
parent | 76adef27042b5185ab8a1db991cfff8ab872b928 (diff) |
Merge pull request #21228 from Noshyaar/docs-bind
Fix arg name in docs, some copy-paste errors
Diffstat (limited to 'core')
-rw-r--r-- | core/input_map.cpp | 2 |
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); |