diff --git a/player_input.cpp b/player_input.cpp index b544c93..5fb7daa 100644 --- a/player_input.cpp +++ b/player_input.cpp @@ -40,7 +40,7 @@ std::optional PlayerInput::Listener::evaluate_action(gd::String const &ac if(action.is_empty()) { return 0.f; } else { - return float(input->is_action_pressed(action)); + return float(input->get_action_strength(action)); } }