From 0cffa96800087f56e74b76aefb419d5bcac062ab Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 25 Apr 2013 16:28:48 +0200 Subject: [PATCH] Forbid impulses even during the countdown to round start, it fixes issues with weapons --- qcsrc/server/cl_impulse.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/cl_impulse.qc b/qcsrc/server/cl_impulse.qc index 09ed68993c..d09c0704fe 100644 --- a/qcsrc/server/cl_impulse.qc +++ b/qcsrc/server/cl_impulse.qc @@ -46,8 +46,8 @@ 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()) + // forbid impulses when not in round time + if(round_handler_IsActive() && !round_handler_IsRoundStarted()) return; if (timeout_status == TIMEOUT_ACTIVE) //don't allow any impulses while the game is paused -- 2.39.2