passant linters a vore si trobe variables sense inicialitzar
This commit is contained in:
@@ -145,7 +145,7 @@ auto checkServiceButton() -> bool {
|
||||
}
|
||||
|
||||
// Mandos
|
||||
for (auto gamepad : Input::get()->getGamepads()) {
|
||||
for (const auto& gamepad : Input::get()->getGamepads()) {
|
||||
if (Input::get()->checkAction(Input::Action::SERVICE, Input::DO_NOT_ALLOW_REPEAT, Input::DO_NOT_CHECK_KEYBOARD, gamepad)) {
|
||||
toggleServiceMenu();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user