Fixed client not in game error in ZMarket.

This commit is contained in:
Richard Helgeby 2012-02-27 01:49:04 +01:00
parent 3fe0b5506f
commit 235407facb

View File

@ -192,7 +192,7 @@ ZMarketCheckRebuy(client)
}
// If client hasn't spawned into the game yet, then stop.
if (!IsPlayerAlive(client))
if (!IsClientConnected(client) || !IsClientInGame(client) || !IsPlayerAlive(client))
{
return;
}