1
This commit is contained in:
parent
00a37a4c3c
commit
1a488afd18
@ -54,7 +54,7 @@ class RoomBattleDataService extends BaseService {
|
|||||||
$myTeamScore += $this->_calBattleScore($member);
|
$myTeamScore += $this->_calBattleScore($member);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$myTeamScoreAvg = $myTeamScore / $realUserNum;
|
$myTeamScoreAvg = $realUserNum > 0 ? $myTeamScore / $realUserNum : 0;
|
||||||
// $paramMeta = mt\Parameter::getVal('performance_score_range',0);
|
// $paramMeta = mt\Parameter::getVal('performance_score_range',0);
|
||||||
// $scoreParam = explode("|",$paramMeta);
|
// $scoreParam = explode("|",$paramMeta);
|
||||||
// if (count($paramMeta) < 2){
|
// if (count($paramMeta) < 2){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user