From 967dd2168a9e927deddc4d0c7a2afda39a67d79a Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 24 Nov 2023 21:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A1=94=E9=98=B2=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/whackamole/api_award.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/whackamole/api_award.go b/modules/whackamole/api_award.go index b587bde1b..906290d06 100644 --- a/modules/whackamole/api_award.go +++ b/modules/whackamole/api_award.go @@ -50,7 +50,7 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.WhackamoleAwardReq if errdata, award = this.module.DispenseAtno(session, atns, true); errdata != nil { return } - + info.Levels[req.Id]++ this.module.model.Change(session.GetUserId(), map[string]interface{}{ "levels": info.Levels, })