Fixed another error from infect module.

This commit is contained in:
Greyscale 2009-06-15 21:45:50 -07:00
parent f403485b38
commit 615bc3e860

View File

@ -128,6 +128,12 @@ InfectClientInit(client)
*/ */
InfectOnClientDisconnect(client) InfectOnClientDisconnect(client)
{ {
// If client is still connecting, then stop.
if (!IsClientInGame(client))
{
return;
}
// If zombie hasn't spawned, then stop. // If zombie hasn't spawned, then stop.
if (!g_bZombieSpawned) if (!g_bZombieSpawned)
{ {