diff --git a/RaceTimer/scripting/unloze_racetimer_redux.sp b/RaceTimer/scripting/unloze_racetimer_redux.sp index ef8661f7..ce069813 100644 --- a/RaceTimer/scripting/unloze_racetimer_redux.sp +++ b/RaceTimer/scripting/unloze_racetimer_redux.sp @@ -202,9 +202,9 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3 float client_gravity = GetEntityGravity(client); ConVar gravity = FindConVar("sv_gravity"); float gravityFloat = gravity.FloatValue; - int minimalPermitedGravity = 650; + int minimalPermitedGravity = 610; //PrintToChat(client, "client_gravity: %f\ngravityFloat: %f", client_gravity, gravityFloat); - if (!(client_gravity == 1.0 || client_gravity == 0.0000) || gravityFloat < minimalPermitedGravity) + if ((client_gravity > 1.3 || client_gravity < 0.8000) || gravityFloat < minimalPermitedGravity) { g_bHumansAllowedTime[client] = false; resetClientVectors(client);