added checks

This commit is contained in:
SaengerItsWar 2020-06-06 01:35:52 +02:00
parent dafd52e608
commit 3ec67a4aab
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View file

@ -116,6 +116,9 @@ public void Shavit_OnStyleConfigLoaded(int styles)
public void Shavit_OnLeaveZone(int client, int zone, int track, int id, int entity)
{
if (IsClientInGame(client) && IsFakeClient(client))
return;
if (zone == Zone_Start) {
g_iStyle[client] = Shavit_GetBhopStyle(client);
g_fPB[client] = Shavit_GetClientPB(client, g_iStyle[client], track);