From 0019f03dee04a710fcb3a43583b7b57eb2f82c8a Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 14 May 2024 15:15:12 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 3eb2e070..69ddd013 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -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;