From f9a47d2de63492ffd70de6e710812cde5f0aa8ec Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 15 Aug 2022 15:25:20 +0200 Subject: [PATCH] [Voice] Unmute client from server list when dc from server (#435) --- src/Components/Modules/Voice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Modules/Voice.cpp b/src/Components/Modules/Voice.cpp index bc00c0dc..6871d863 100644 --- a/src/Components/Modules/Voice.cpp +++ b/src/Components/Modules/Voice.cpp @@ -377,6 +377,7 @@ namespace Components CL_ClearMutedList(); Events::OnSteamDisconnect(CL_ClearMutedList); + Events::OnClientDisconnect(SV_UnmuteClient); // Write voice packets to the server instead of other clients Utils::Hook(0x487935, CL_WriteVoicePacket_Hk, HOOK_CALL).install()->quick();