]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Race, CTS: don't lose score when observing during qualifying
authorRudolf Polzer <divverent@alientrap.org>
Tue, 21 Feb 2012 14:55:54 +0000 (15:55 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 21 Feb 2012 14:55:54 +0000 (15:55 +0100)
qcsrc/server/scores.qc

index a7d325f22163674203ec389991bc0a02766a936b..10f5d12fcdd76b47fb0efeb139f42ff7baf60875 100644 (file)
@@ -254,7 +254,8 @@ void PlayerScore_Clear(entity player)
 
        if(g_lms) return;
        if(g_arena || g_ca) return;
-       if(g_race && !g_race_qualifying) return;
+       if(g_cts) return; // in CTS, you don't lose score by observing
+       if(g_race && g_race_qualifying) return; // in qualifying, you don't lose score by observing
 
        sk = player.scorekeeper;
        for(i = 0; i < MAX_SCORE; ++i)