Fixed "not connected" error in reserved slots plugin (bug 5158, r=psychonic).
This commit is contained in:
parent
fefff70645
commit
6c0eca0eca
@ -86,6 +86,9 @@ public OnPluginStart()
|
|||||||
{
|
{
|
||||||
for (new i = 1; i <= MaxClients; i++)
|
for (new i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
|
if (!IsClientConnected(i))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (IsClientSourceTV(i))
|
if (IsClientSourceTV(i))
|
||||||
{
|
{
|
||||||
g_SourceTV = i;
|
g_SourceTV = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user