From a5fcfecb5218bad5a91f9b585e1f631718d6a2ac Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 16 May 2020 23:07:12 +0200 Subject: [PATCH] Don't schedule buff activation before round start --- qcsrc/common/mutators/mutator/buffs/sv_buffs.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc index 5ec00e1253..82c9a595a6 100644 --- a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc +++ b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc @@ -261,7 +261,7 @@ void buff_Think(entity this) } if(!game_stopped) - if((round_handler_IsActive() && !round_handler_IsRoundStarted()) || time >= game_starttime) + if((round_handler_IsActive() && round_handler_IsRoundStarted()) || time >= game_starttime) if(!this.buff_activetime_updated) { buff_SetCooldown(this, this.buff_activetime); @@ -282,7 +282,7 @@ void buff_Think(entity this) if(this.buff_activetime) if(!game_stopped) - if((round_handler_IsActive() && !round_handler_IsRoundStarted()) || time >= game_starttime) + if((round_handler_IsActive() && round_handler_IsRoundStarted()) || time >= game_starttime) { this.buff_activetime = max(0, this.buff_activetime - frametime); -- 2.39.2