From cda331e3f1115cda35862de0270c1d650a4b103a Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 25 Aug 2023 11:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B8=E6=84=BF=E6=8B=9B=E5=8B=9F=20?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=88=B0=E4=BA=86=20=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=B8=85=E7=90=86=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/api_drawCard.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 1cb22dbc0..163d03e9a 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -87,6 +87,8 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq Code: pb.ErrorCode_HeroDrawCD, } return + } else { // 时间到了 + heroRecord.Wish[heroRecord.WishHero] = 0 // 时间清0 } } costRes = append(costRes, conf.Cond[heroRecord.WishHero].buyCos)