]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix #2568 "Server/Event Logging: Score labels in FT mode wrong"
authorterencehill <piuntn@gmail.com>
Fri, 26 Mar 2021 17:31:57 +0000 (18:31 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 26 Mar 2021 17:31:57 +0000 (18:31 +0100)
qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc

index ea00927abd908ae3856092f51b8d81d4ab80301b..40d604175d7818fbe161d65bba8c939914892c8c 100644 (file)
@@ -700,7 +700,7 @@ void freezetag_Initialize()
                freezetag_teams = cvar("g_freezetag_teams"); // read the cvar directly as it gets written earlier in the same frame
 
        freezetag_teams = BITS(bound(2, freezetag_teams, 4));
-       GameRules_scoring(freezetag_teams, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_PRIMARY, {
+       GameRules_scoring(freezetag_teams, SFL_SORT_PRIO_PRIMARY, 0, {
                field_team(ST_FT_ROUNDS, "rounds", SFL_SORT_PRIO_PRIMARY);
                field(SP_FREEZETAG_REVIVALS, "revivals", 0);
        });