From c1b7347d4ee762afb115a14e7ee0b811b77a8e3f Mon Sep 17 00:00:00 2001 From: Dots Date: Mon, 19 Oct 2026 01:50:07 +0300 Subject: [PATCH] fix every jump being a jumpbug --- addons/sourcemod/scripting/movementapi.sp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/movementapi.sp b/addons/sourcemod/scripting/movementapi.sp index 0fc145e..85f1cb1 100644 --- a/addons/sourcemod/scripting/movementapi.sp +++ b/addons/sourcemod/scripting/movementapi.sp @@ -117,8 +117,7 @@ public void OnPlayerSpawn(Event event, const char[] name, bool dontBroadcast) public void OnPlayerJump(Event event, const char[] name, bool dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); - bool jumpbug = !gB_OldOnGround[client]; - Call_OnPlayerJump(client, jumpbug); + Call_OnPlayerJump(client, gB_Jumpbugged[client]); } public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon, int &subtype, int &cmdnum, int &tickcount, int &seed, int mouse[2])