]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an outdated comment and a redundant division by 1
authorterencehill <piuntn@gmail.com>
Thu, 9 Dec 2021 12:26:15 +0000 (13:26 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 9 Dec 2021 12:26:15 +0000 (13:26 +0100)
qcsrc/client/announcer.qc
qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc

index 109ee5ac1c25cb0e5529cadfd46a527f616a964f..5baaddeffe659fe95552824a287e526088ab7c90 100644 (file)
@@ -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);
index 5b40ed02ccba5ebad778c6ca86d5c102f40feb68..aa63238ebe501c684eec11a3d4f3270c030c6e37 100644 (file)
@@ -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;
        }
 }