We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12cde3f commit 943faefCopy full SHA for 943faef
ReplayBrowser/Pages/Shared/CompactProfileDisplay.razor
@@ -44,8 +44,8 @@
44
if (data.characters.length == 0) {
45
fields.push("No character data available");
46
} else {
47
- let mostAntagCharacter = data.characters.sort((a, b) => b.antagRoundsPlayed - a.antagRoundsPlayed)[0];
48
- fields.push("Most antag rounds played: " + mostAntagCharacter.characterName + " (" + mostAntagCharacter.antagRoundsPlayed + " rounds)");
+ let mostCharacter = data.characters.sort((a, b) => b.roundsPlayed - a.roundsPlayed)[0];
+ fields.push("Most played character: " + mostCharacter.characterName + " (" + mostCharacter.roundsPlayed + " rounds)");
49
}
50
if (data.jobCount.length == 0) {
51
fields.push("No job data available");
0 commit comments