bug fix, optimization
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402135
This commit is contained in:
parent
f1ef53cdff
commit
aee95b6c74
@ -132,13 +132,16 @@ void SDKTools::OnClientDisconnecting(int client)
|
|||||||
{
|
{
|
||||||
if (i == client)
|
if (i == client)
|
||||||
{
|
{
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_VoiceMap[i][client] != LISTEN_DEFAULT)
|
if (g_VoiceMap[i][client] != LISTEN_DEFAULT)
|
||||||
{
|
{
|
||||||
g_VoiceMap[i][client] = LISTEN_DEFAULT;
|
g_VoiceMap[i][client] = LISTEN_DEFAULT;
|
||||||
DecHookCount();
|
if (DecHookCount())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user