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 client hasn't spawned into the game yet, then stop.
|
||||||
if (!IsPlayerAlive(client))
|
if (!IsClientConnected(client) || !IsClientInGame(client) || !IsPlayerAlive(client))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user