X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fonslaught%2Fsv_onslaught.qc;fp=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fonslaught%2Fsv_onslaught.qc;h=370fda29d0f599a9cf40d6905568df2e06b3576d;hb=4b6c34ae363349a7594254ddb5ee471599cbc8d3;hp=ea07659e340a078927c60ee163bb5f043fe57468;hpb=f0ddfc119ca0e3e880163337495b53a23b60012c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc b/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc index ea07659e3..370fda29d 100644 --- a/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc +++ b/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc @@ -1197,7 +1197,7 @@ bool Onslaught_CheckWinner() { Send_Notification(NOTIF_ALL, NULL, MSG_CENTER, APP_TEAM_NUM(winner_team, CENTER_ROUND_TEAM_WIN)); Send_Notification(NOTIF_ALL, NULL, MSG_INFO, APP_TEAM_NUM(winner_team, INFO_ROUND_TEAM_WIN)); - TeamScore_AddToTeam(winner_team, ST_ONS_CAPS, +1); + TeamScore_AddToTeam(winner_team, ST_ONS_GENS, +1); } else if(winner_team == -1) { @@ -2135,7 +2135,7 @@ void ons_ScoreRules() int teams = TeamBalance_GetAllowedTeams(balance); TeamBalance_Destroy(balance); GameRules_scoring(teams, SFL_SORT_PRIO_PRIMARY, 0, { - field_team(ST_ONS_CAPS, "destroyed", SFL_SORT_PRIO_PRIMARY); + field_team(ST_ONS_GENS, "generators", SFL_SORT_PRIO_PRIMARY); field(SP_ONS_CAPS, "caps", SFL_SORT_PRIO_SECONDARY); field(SP_ONS_TAKES, "takes", 0); });