wip chn pong id

This commit is contained in:
salam committed 2026-10-08 13:23:23 +02:00
1 parent 8092b5c419
commit 29018914d1
3 files changed
+7 -2

No files matched your search

@@ -530,11 +530,12 @@ class LoadPerformance
}
}
// dd($result);
$return = [];
foreach ($matches as $matchid) {
if (isset($result[$matchid])) {
if (! $result[$matchid]['all']['ply']) {
$result[$matchid]['all']['ply'] = 1;
}
$return['all'][] = round($result[$matchid]['all']['rating'] / $result[$matchid]['all']['ply'], 1);
if ($result[$matchid]['def']['sum_min']) {
$return['def'][] = round($result[$matchid]['def']['rating'] / $result[$matchid]['def']['ply'], 1);