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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user