diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c index 802af4dd..d0ebebce 100644 --- a/code/sdl/sdl_input.c +++ b/code/sdl/sdl_input.c @@ -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: