fix: using Input::get_action_strength instead of Input::is_action_pressed

stripped
Sara 2024-11-27 16:33:28 +01:00
parent efaeb16fe5
commit 3b9be954b1
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ std::optional<float> 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));
}
}