Skip to content

Commit

Permalink
Fixed wrong anti warp check
Browse files Browse the repository at this point in the history
  • Loading branch information
TriForceX authored and aufau committed May 8, 2020
1 parent a03b267 commit 8f1ead0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/g_active.c
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ void G_RunClient( gentity_t *ent ) {
{
client->ps.eFlags |= EF_CONNECTION;

if (g_antiWarpTime.integer == 2)
if (g_antiWarp.integer == 2)
{
// create a fake user command to make him move, causing client
// prediction error for a warping player
Expand Down

0 comments on commit 8f1ead0

Please sign in to comment.