Fixed client not in game error in ZMarket.
This commit is contained in:
parent
3fe0b5506f
commit
235407facb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user