Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions addons/sourcemod/scripting/movementapi/forwards.sp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ void Call_OnStartTouchGround(int client)
Call_StartForward(H_OnStartTouchGround);
Call_PushCell(client);
Call_Finish();

// Immediately update OldOnGround state, so we can catch takeoffs that happen outside movement processing.
gB_OldOnGround[client] = true;
}

void Call_OnStopTouchGround(int client, bool jumped, bool ladderJump, bool jumpbug)
Expand Down