From 92ae4cf047071fc696c15fe51944bf9fec41545a Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 9 Dec 2021 13:26:15 +0100 Subject: [PATCH] Remove an outdated comment and a redundant division by 1 --- qcsrc/client/announcer.qc | 1 - qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index 109ee5ac1..5baaddeff 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -45,7 +45,6 @@ void Announcer_Countdown(entity this) } else // countdown is still going { - // if concomitant countdown to round start overrides countdown to game start if(inround) { Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_ROUNDSTART, countdown_rounded); diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc b/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc index 5b40ed02c..aa63238eb 100644 --- a/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc +++ b/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc @@ -84,7 +84,7 @@ void ka_TimeScoring(entity this) if(autocvar_g_keepaway_score_timepoints) GameRules_scoring_add(this.owner, SCORE, autocvar_g_keepaway_score_timepoints); - GameRules_scoring_add(this.owner, KEEPAWAY_BCTIME, (autocvar_g_keepaway_score_timeinterval / 1)); // interval is divided by 1 so that time always shows "seconds" + GameRules_scoring_add(this.owner, KEEPAWAY_BCTIME, autocvar_g_keepaway_score_timeinterval); this.nextthink = time + autocvar_g_keepaway_score_timeinterval; } } -- 2.39.2