From: terencehill Date: Wed, 13 Feb 2013 23:24:57 +0000 (+0100) Subject: Forbid impulses when round is over X-Git-Tag: xonotic-v0.7.0~61^2~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d32e7d0b1ea4202a459742d5b0d2ba08c0a3332b;p=xonotic%2Fxonotic-data.pk3dir.git Forbid impulses when round is over --- 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;