From 5750128f60d6c0e9bf0ab27502768e5c25eb923b Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sat, 8 Mar 2025 20:39:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20ScoreSaber=20?= =?UTF-8?q?=E6=9C=80=E8=BF=91=E6=88=90=E7=BB=A9=E8=8E=B7=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E7=B4=A2=E5=BC=95=E8=BE=B9=E7=95=8C=E9=97=AE=E9=A2=98?= 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 2b7a018..8b957a7 100644 --- a/service/scoresaber/bind_ss.go +++ b/service/scoresaber/bind_ss.go @@ -338,7 +338,7 @@ func (ss *ssQuery) GetRecentScores(count int, qqId string) ([]RecordDataLite, er scores := response.Data records := make([]RecordDataLite, 0) for k, score := range scores { - if k > count { + if k > count-1 { break } record := RecordDataLite{