From fa69727f7fc099153c2a85c47977f8a53505ccca Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 13 Feb 2017 17:57:54 +1000 Subject: [PATCH] Make sure it isn't counted as cheating --- qcsrc/server/cheats.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index 421de5373..31823f406 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -224,7 +224,8 @@ float CheatImpulse(entity this, int imp) this.strength_finished = time + this.personal.strength_finished - this.personal.teleport_time; this.invincible_finished = time + this.personal.invincible_finished - this.personal.teleport_time; - DID_CHEAT(); + if(!autocvar_g_allow_checkpoints) + DID_CHEAT(); break; } if(IS_DEAD(this)) -- 2.39.2