]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores.qc
Add Arena to the mutator system, making use of round_handler. Also add support for...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores.qc
index 102dd6a33ef326af860bdd8d66c0ba537f5f8a89..9895c5b042e4ce6d24f318144049761b276ce95b 100644 (file)
@@ -252,8 +252,8 @@ void PlayerScore_Clear(entity player)
        if(teamscores_entities_count)
                return;
 
+       if(MUTATOR_CALLHOOK(ForbidPlayerScore_Clear)) return;
        if(g_lms) return;
-       if(g_arena || g_ca) 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