From f6a32b931879514fda6f0f736bc8c729903be31b Mon Sep 17 00:00:00 2001 From: RebeccaStankus Date: Fri, 23 Aug 2019 13:46:46 -0700 Subject: [PATCH] Fix for PTT not working comments --- interface/src/scripting/Audio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/scripting/Audio.cpp b/interface/src/scripting/Audio.cpp index 26d02b2ec5..ba392f0cd1 100644 --- a/interface/src/scripting/Audio.cpp +++ b/interface/src/scripting/Audio.cpp @@ -102,7 +102,7 @@ void Audio::setMutedDesktop(bool isMuted) { } }); if (!isMuted && _settingsLoaded && !_pushingToTalk) { - // If the user is not using pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded. + // If the user is not pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded. setPTTDesktop(isMuted); } if (changed) { @@ -133,7 +133,7 @@ void Audio::setMutedHMD(bool isMuted) { } }); if (!isMuted && _settingsLoaded && !_pushingToTalk) { - // If the user is not using pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded. + // If the user is not pushing to talk and muted is changed to false, disable Push-To-Talk. Settings also need to be loaded. setPTTHMD(isMuted); } if (changed) {