mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't try to open microphone when sound is disabled
This commit is contained in:
parent
55a8a53077
commit
610599e7d1
1 changed files with 1 additions and 1 deletions
|
|
@ -1005,7 +1005,7 @@ boolean I_SoundInputSetEnabled(boolean enabled)
|
|||
{
|
||||
if (g_input_device_id == 0 && enabled)
|
||||
{
|
||||
if (SDL_GetNumAudioDevices(true) == 0)
|
||||
if (!sound_started || SDL_GetNumAudioDevices(true) == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue