diff options
author | kobewi <kobewi4e@gmail.com> | 2023-08-29 15:34:24 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-08-29 15:34:24 +0200 |
commit | 5b95935e18bc505df23cc98e53d1d3e1e6da962d (patch) | |
tree | 1ad1551c92ec38aa2f7b89c0de2253bb5541fea3 | |
parent | 922689c801047c63902b190f402cd6207c83e7da (diff) | |
download | redot-engine-5b95935e18bc505df23cc98e53d1d3e1e6da962d.tar.gz |
Remove debug print
-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); } |