From 6ae132a9c57ebd87f863a53a1159586d9e6921d5 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sat, 12 Apr 2025 21:35:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=9C=80=E8=BF=91=E5=88=86=E6=95=B0=E7=9A=84=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=9A=84=E6=AF=94=E8=BE=83=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/scoresaber/bind_ss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/scoresaber/bind_ss.go b/service/scoresaber/bind_ss.go index 26155cf..56dcc45 100644 --- a/service/scoresaber/bind_ss.go +++ b/service/scoresaber/bind_ss.go @@ -355,7 +355,7 @@ func (ss *ssQuery) GetRecentScores(count int, qqId string) ([]RecordDataLite, er } scores := response.Data for _, score := range scores { - if len(records) > count { + if len(records) >= count { break } record := RecordDataLite{