Fix disabling gamepad not blocking all gamepad inputs

This commit is contained in:
Jan 2021-08-31 18:12:53 +02:00
parent 8b53ce4cfe
commit 9a9d2cd058

View File

@ -1418,6 +1418,9 @@ namespace Components
void Gamepad::IN_GamePadsMove() void Gamepad::IN_GamePadsMove()
{ {
if (!gpad_enabled.get<bool>())
return;
GPad_UpdateAll(); GPad_UpdateAll();
const auto time = Game::Sys_Milliseconds(); const auto time = Game::Sys_Milliseconds();