From 7688583735de871fae32e038e1f25640e9e29138 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Thu, 27 Jun 2024 18:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7=E4=BB=BB=E5=8A=A1=E8=B7=A8?= =?UTF-8?q?=E5=91=A8=E7=A7=AF=E5=88=86=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbproxy/mq/c_invite.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dbproxy/mq/c_invite.go b/dbproxy/mq/c_invite.go index 5090fdb..2c84406 100644 --- a/dbproxy/mq/c_invite.go +++ b/dbproxy/mq/c_invite.go @@ -92,13 +92,8 @@ func init() { } // 当前玩家积分是否跨周重置 - err = reset(log.SnId) - if err != nil { - logger.Logger.Errorf("EvtInvite reset 1 error:%v snid:%v", err, log.SnId) - return err - } tmpSnid := log.SnId - for i := 0; i < 5; i++ { + for i := 0; i < 6; i++ { if tmpSnid > 0 { err = reset(tmpSnid) if err != nil {