X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcl_impulse.qc;h=3288bbc72a9af3b52cfcc56c64e44ddd8df4b4cd;hb=e14bb786305e05541496fb5b28c090e0ff1b5783;hp=b6a71c31179a61226589218ba0497e3281fc4598;hpb=b2c2d31803d0620b3af3cb1e792cfbd60732155f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cl_impulse.qc b/qcsrc/server/cl_impulse.qc index b6a71c311..3288bbc72 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 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 return;