]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Removed unused code from CTF and Invasion.
authorLyberta <lyberta@lyberta.net>
Sat, 14 Jul 2018 13:54:11 +0000 (16:54 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 14 Jul 2018 13:54:11 +0000 (16:54 +0300)
qcsrc/common/gamemodes/gamemode/ctf/ctf.qc
qcsrc/common/gamemodes/gamemode/invasion/invasion.qc

index 7546973a451e409428f0bfd99acdc7f04a1fe544..812d5da4ec0321625d09484e9f38daee27533a57 100644 (file)
@@ -2694,7 +2694,6 @@ spawnfunc(team_CTL_bluelolly)  { spawnfunc_item_flag_team2(this);    }
 // scoreboard setup
 void ctf_ScoreRules(int teams)
 {
-       //CheckAllowedTeams(NULL); // Bug? Need to get allowed teams?
        GameRules_scoring(teams, SFL_SORT_PRIO_PRIMARY, 0, {
         field_team(ST_CTF_CAPS, "caps", SFL_SORT_PRIO_PRIMARY);
         field(SP_CTF_CAPS, "caps", SFL_SORT_PRIO_SECONDARY);
index 15bc077bcc13979d036cbb90171532233379979d..00e2241c6866bf051135f891c3edb9433251b919 100644 (file)
@@ -562,7 +562,6 @@ MUTATOR_HOOKFUNCTION(inv, AllowMobButcher)
 
 void invasion_ScoreRules(int inv_teams)
 {
-       //if(inv_teams) { CheckAllowedTeams(NULL); } // Another bug?
        GameRules_score_enabled(false);
        GameRules_scoring(inv_teams, 0, 0, {
            if (inv_teams) {