From ae74e0ae4339edabe865cbceff2e5e2f6569c47d Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 13 Jul 2011 18:00:49 +0200 Subject: [PATCH] Fix calculation of the initial total_pps --- qcsrc/server/domination.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/domination.qc b/qcsrc/server/domination.qc index 747927a7e..d3dd9b73a 100644 --- a/qcsrc/server/domination.qc +++ b/qcsrc/server/domination.qc @@ -349,12 +349,12 @@ void dom_controlpoint_setup() self.wait = 5; float points, waittime; - if (autocvar_g_domination_point_rate) - points = autocvar_g_domination_point_rate; + if (autocvar_g_domination_point_amt) + points = autocvar_g_domination_point_amt; else points = self.frags; - if (autocvar_g_domination_point_amt) - waittime = autocvar_g_domination_point_amt; + if (autocvar_g_domination_point_rate) + waittime = autocvar_g_domination_point_rate; else waittime = self.wait; -- 2.39.2