From 5b95935e18bc505df23cc98e53d1d3e1e6da962d Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 29 Aug 2023 15:34:24 +0200 Subject: [PATCH] Remove debug print --- core/input/input.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/input/input.cpp b/core/input/input.cpp index 74ad00aa9b3b..e89c71d7620f 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); }