Updated bestmodes

This commit is contained in:
2025-09-14 22:58:49 +02:00
parent a6b4b6efad
commit 3db30213e0
9 changed files with 48 additions and 5 deletions

View File

@@ -92,6 +92,8 @@ export function getMegaWallsMostPlayedMode(stats: NonNullable<NonNullStats["Mega
}
]
if (modes.map(m => m.games).reduce((a, b) => a + b) === 0) return null
const mostPlayed = modes.reduce((max, current) => current.games > max.games ? current : max)
return mostPlayed.id