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)