mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Fix for PTT not working
This commit is contained in:
parent
b33e5a60c2
commit
85ee61af9d
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ void Audio::setMutedDesktop(bool isMuted) {
|
|||
}
|
||||
}
|
||||
});
|
||||
if (!isMuted && _settingsLoaded) {
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
||||
setPTTDesktop(isMuted);
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ void Audio::setMutedHMD(bool isMuted) {
|
|||
}
|
||||
}
|
||||
});
|
||||
if (!isMuted && _settingsLoaded) {
|
||||
if (!isMuted && _settingsLoaded && !_pushingToTalk) {
|
||||
// Disable Push-To-Talk if muted is changed to false. Settings also need to be loaded.
|
||||
setPTTHMD(isMuted);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue