This commit is contained in:
hujiabin 2024-05-14 15:15:12 +08:00
parent 909062a9ad
commit 0019f03dee

View File

@ -255,7 +255,7 @@ class BattleController extends BaseAuthedController {
if ($a['expScore'] == $b['expScore']) {
return 0;
}
return ($a['expScore'] < $b['expScore']) ? -1 : 1;
return ($a['expScore'] > $b['expScore']) ? -1 : 1;
});
}
$roomBattleDataService->realUserCount = $realUserNum;