diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-29 17:30:32 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-29 17:30:32 +0200 |
commit | d7ceb7f1dc6fb05637675eda6524e8b72e5cd63e (patch) | |
tree | b59459b96210c4f4a8fa3f00c5171f82293fb26c /core/input/input.cpp | |
parent | da12106112a585cced3caaebe19cf1d33e770452 (diff) | |
parent | 5b95935e18bc505df23cc98e53d1d3e1e6da962d (diff) | |
download | redot-engine-d7ceb7f1dc6fb05637675eda6524e8b72e5cd63e.tar.gz |
Merge pull request #81129 from KoBeWi/debug_bug
Remove debug print
Diffstat (limited to 'core/input/input.cpp')
-rw-r--r-- | core/input/input.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/input/input.cpp b/core/input/input.cpp index 74ad00aa9b..e89c71d762 100644 --- a/core/input/input.cpp +++ b/core/input/input.cpp @@ -285,8 +285,6 @@ bool Input::is_joy_button_pressed(int p_device, JoyButton p_button) const { bool Input::is_action_pressed(const StringName &p_action, bool p_exact) const { ERR_FAIL_COND_V_MSG(!InputMap::get_singleton()->has_action(p_action), false, InputMap::get_singleton()->suggest_actions(p_action)); - if (p_action == "move_right") - print_line(action_state.has(p_action), action_state[p_action].pressed, action_state[p_action].pressed > 0, (p_exact ? action_state[p_action].exact : true)); return action_state.has(p_action) && action_state[p_action].pressed > 0 && (p_exact ? action_state[p_action].exact : true); } |