mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
Prevent gB_ForceJump when teleporting to a checkpoint in the start zone (#1240)
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
This commit is contained in:
parent
0151ace718
commit
cd4f1c9248
@ -257,6 +257,12 @@ public void Shavit_OnRestart(int client, int track)
|
||||
gI_LastRestart[client] = GetGameTickCount();
|
||||
}
|
||||
|
||||
public Action Shavit_OnTeleportPre(int client, int index, int target)
|
||||
{
|
||||
// to prevent gB_ForceJump when teleporting to a checkpoint in the start zone
|
||||
gI_LastRestart[client] = GetGameTickCount();
|
||||
}
|
||||
|
||||
public void Shavit_OnEnterZone(int client, int type, int track, int id, int entity, int data)
|
||||
{
|
||||
if (!IsValidClient(client, true) || IsFakeClient(client))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user