Implement Team display in perround overview

Now tracks the scores of the teams and displays them on the homepage.
Also now displays the team numbers next to the overview of rounds won to know which team won which round
This commit is contained in:
Lol3rrr
2024-10-15 22:02:19 +02:00
parent a2be4c2167
commit 5cb9094f76
11 changed files with 263 additions and 253 deletions

View File

@@ -11,24 +11,7 @@ fn endofgame_nuke() {
let expected = endofgame::EndOfGame {
map: "de_nuke".to_owned(),
teams: [
(
3,
endofgame::TeamInfo {
name: "CT".to_owned(),
score: 8,
},
),
(
2,
endofgame::TeamInfo {
name: "TERRORIST".to_owned(),
score: 13,
},
),
]
.into_iter()
.collect(),
teams: [].into_iter().collect(),
players: vec![
(
endofgame::PlayerInfo {