From 6c0eca0ecad7ecadcbc47205d36aefc90e46e620 Mon Sep 17 00:00:00 2001 From: otstrel Date: Thu, 3 Nov 2011 09:05:40 -0400 Subject: [PATCH] Fixed "not connected" error in reserved slots plugin (bug 5158, r=psychonic). --- plugins/reservedslots.sp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/reservedslots.sp b/plugins/reservedslots.sp index 647ca7cb..81ece22c 100644 --- a/plugins/reservedslots.sp +++ b/plugins/reservedslots.sp @@ -86,6 +86,9 @@ public OnPluginStart() { for (new i = 1; i <= MaxClients; i++) { + if (!IsClientConnected(i)) + continue; + if (IsClientSourceTV(i)) { g_SourceTV = i;