mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
fix it saying you teleported when you might've not
example: make a checkpoint then hold +duck and try to teleport to it
This commit is contained in:
parent
77a9c909b5
commit
b813f00945
@ -1412,8 +1412,6 @@ public Action Command_Tele(int client, int args)
|
||||
|
||||
TeleportToCheckpoint(client, index);
|
||||
|
||||
Shavit_PrintToChat(client, "%T", "MiscCheckpointsTeleported", client, (index + 1), gS_ChatStrings[sMessageVariable], gS_ChatStrings[sMessageText]);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
@ -1610,6 +1608,8 @@ void TeleportToCheckpoint(int client, int index)
|
||||
{
|
||||
Shavit_StopTimer(client);
|
||||
}
|
||||
|
||||
Shavit_PrintToChat(client, "%T", "MiscCheckpointsTeleported", client, (index + 1), gS_ChatStrings[sMessageVariable], gS_ChatStrings[sMessageText]);
|
||||
}
|
||||
|
||||
public Action Command_Noclip(int client, int args)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user