From a9ffcb1c4a03b4c40d9bd0184e1f9a74637a9a28 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 20 Nov 2024 18:31:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=9E=E6=8A=80=E9=A6=86?= =?UTF-8?q?=E6=88=BF=E9=97=B4=E5=88=97=E8=A1=A8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/action_game.go b/worldsrv/action_game.go index 1d6bf24..483db78 100644 --- a/worldsrv/action_game.go +++ b/worldsrv/action_game.go @@ -1448,7 +1448,7 @@ func CSGetPrivateRoomListHandler(s *netlib.Session, packetId int, data interface pack.Datas = append(pack.Datas, CustomRoomMgrSingle.GetRoomList(p.Platform)...) sort.Slice(pack.Datas, func(i, j int) bool { - return pack.Datas[i].GetCreateTs() < pack.Datas[j].GetCreateTs() + return pack.Datas[i].GetCreateTs() > pack.Datas[j].GetCreateTs() }) p.SendToClient(int(gamehall.GameHallPacketID_PACKET_SC_GETPRIVATEROOMLIST), pack)