wip chn pong id
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user