[Voice] Unmute client from server list when dc from server (#435)

This commit is contained in:
Edo
2022-08-15 15:25:20 +02:00
committed by GitHub
parent 0406e55f39
commit f9a47d2de6

View File

@ -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();