From: terencehill Date: Thu, 25 Apr 2013 14:28:48 +0000 (+0200) Subject: Forbid impulses even during the countdown to round start, it fixes issues with weapons X-Git-Tag: xonotic-v0.7.0~61^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0cffa96800087f56e74b76aefb419d5bcac062ab;p=xonotic%2Fxonotic-data.pk3dir.git Forbid impulses even during the countdown to round start, it fixes issues with weapons --- diff --git a/qcsrc/server/cl_impulse.qc b/qcsrc/server/cl_impulse.qc index 09ed68993..d09c0704f 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