FIRE-33532: Fix voice PTT toggle sound playing when it should not

master
Ansariel 2023-12-17 14:13:07 +01:00
parent a26c687aab
commit 0c1f2366ff
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,6 @@ void LLVoiceClient::setUserPTTState(bool ptt)
mUserPTTState = ptt;
updateMicMuteLogic();
mMicroChangedSignal();
make_ui_sound("UISndMicToggle"); // <FS:PP> FIRE-33249 Mic toggle
}
bool LLVoiceClient::getUserPTTState()
@ -684,6 +683,7 @@ void LLVoiceClient::inputUserControlState(bool down)
void LLVoiceClient::toggleUserPTTState(void)
{
setUserPTTState(!getUserPTTState());
make_ui_sound("UISndMicToggle"); // <FS:PP> FIRE-33249 Mic toggle
}