From d32e7d0b1ea4202a459742d5b0d2ba08c0a3332b Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 14 Feb 2013 00:24:57 +0100 Subject: [PATCH] Forbid impulses when round is over --- qcsrc/server/cl_impulse.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/server/cl_impulse.qc b/qcsrc/server/cl_impulse.qc index 529567a3b..09ed68993 100644 --- a/qcsrc/server/cl_impulse.qc +++ b/qcsrc/server/cl_impulse.qc @@ -46,6 +46,10 @@ void ImpulseCommands (void) return; self.impulse = 0; + // forbid impulses when round is over (but not during the countdown to round start) + if(round_handler_IsActive() && round_handler_AwaitingNextRound()) + return; + if (timeout_status == TIMEOUT_ACTIVE) //don't allow any impulses while the game is paused return; -- 2.39.2