Fixed "not connected" error in reserved slots plugin (bug 5158, r=psychonic).

This commit is contained in:
otstrel 2011-11-03 09:05:40 -04:00
parent fefff70645
commit 6c0eca0eca

View File

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