This commit is contained in:
hujiabin 2024-04-03 16:09:20 +08:00
parent 1c5e469e53
commit c08664bec2

View File

@ -204,7 +204,7 @@ class RoomBattleDataService extends BaseService {
private function _calBattleScore($battleInfo){ private function _calBattleScore($battleInfo){
$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($scoreParam) < 2){
error_log('Parameter table error'); error_log('Parameter table error');
return 0; return 0;
} }