Fix disabling gamepad not blocking all gamepad inputs
This commit is contained in:
parent
8b53ce4cfe
commit
9a9d2cd058
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user