Skip to content

Commit

Permalink
Fix retracting the grappling hook not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Jul 2, 2021
1 parent dad9eb9 commit 4767247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ preserving 100% of your speed and making each jump feel buttery smooth.
* Allows jumping while ducked
* Unlimited speed while bunnyhopping
* Prevents `CTFGameMovement::PreventBunnyJumping` from clamping your speed
* Support for TF2-specific actions in mid-air (e.g. Scout's air dash, B.A.S.E. Jumper parachute, etc.)
* Support for TF2-specific actions in mid-air (e.g. Scout's air dash, B.A.S.E. Jumper parachute, grappling hooks, etc.)
* Fully compatible with my [all-class air dash](https://github.com/Mikusch/air-dash) plugin

## Dependencies
Expand Down
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/tf-bhop.sp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Plugin myinfo =
name = "Team Fortress 2 Bunnyhop",
author = "Mikusch",
description = "Simple TF2 bunnyhopping plugin",
version = "1.4.6",
version = "1.4.7",
url = "https://github.com/Mikusch/tf-bhop"
}

Expand Down Expand Up @@ -145,7 +145,7 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3
{
g_InJumpRelease[client] = false;
}
else if (!g_InJumpRelease[client] && !IsInAVehicle(client) && GetWaterLevel(client) < WL_Waist && !TF2_IsPlayerInCondition(client, TFCond_HalloweenGhostMode))
else if (!g_InJumpRelease[client] && !IsInAVehicle(client) && GetWaterLevel(client) < WL_Waist && !TF2_IsPlayerInCondition(client, TFCond_HalloweenGhostMode) && !TF2_IsPlayerInCondition(client, TFCond_GrapplingHookLatched))
{
g_InTriggerPush = false;

Expand Down

0 comments on commit 4767247

Please sign in to comment.