mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-19 06:00:48 +00:00
Fix black screen when in_joystick disabled but controller connected.
This commit is contained in:
parent
f47aaa2a61
commit
1cf0b21cda
1 changed files with 2 additions and 1 deletions
|
@ -1062,7 +1062,8 @@ static void IN_ProcessEvents( void )
|
|||
|
||||
case SDL_CONTROLLERDEVICEADDED:
|
||||
case SDL_CONTROLLERDEVICEREMOVED:
|
||||
IN_InitJoystick();
|
||||
if (in_joystick->integer)
|
||||
IN_InitJoystick();
|
||||
break;
|
||||
|
||||
case SDL_QUIT:
|
||||
|
|
Loading…
Reference in a new issue