From 606e3e70c044e3951978ecd0ef9c9a8fe3bc5741 Mon Sep 17 00:00:00 2001 From: Nairda <38843773+Nairdaa@users.noreply.github.com> Date: Tue, 21 Apr 2020 03:12:48 +0200 Subject: [PATCH] removed the debug lines they were only for you to see what I did to test the stuff --- addons/sourcemod/scripting/shavit-core.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sourcemod/scripting/shavit-core.sp b/addons/sourcemod/scripting/shavit-core.sp index a0fa34e1..95424cfd 100644 --- a/addons/sourcemod/scripting/shavit-core.sp +++ b/addons/sourcemod/scripting/shavit-core.sp @@ -3057,12 +3057,12 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3 else if(!bOnGround && gA_Timers[client].bOnGround && gA_Timers[client].bJumped) { int iDifference = (gI_TickCount - gA_Timers[client].iLandingTick); - - if(1 <= iDifference <= 8) + + if(0 <= iDifference <= 10) { gA_Timers[client].iMeasuredJumps++; - if(iDifference == 1) + if(iDifference <= 1) { gA_Timers[client].iPerfectJumps++; }