From 9bbec6ee95637b3dbc957018f7628a6035c4d5ab Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 4 Dec 2023 11:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/catchbugs/room.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/catchbugs/room.go b/modules/catchbugs/room.go index 6957f95d4..93808ef39 100644 --- a/modules/catchbugs/room.go +++ b/modules/catchbugs/room.go @@ -111,9 +111,9 @@ func (this *Room) PlayerHandle(uid string, handle *pb.CatchbugsHandleReq) (err e } else { if this.data.Card[this.data.Blue.Lastopencard].Cid == this.data.Card[handle.Index].Cid { issucc = true - this.data.Card[this.data.Red.Lastopencard].Isopen = true + this.data.Card[this.data.Blue.Lastopencard].Isopen = true this.data.Card[handle.Index].Isopen = true - this.data.Blue.Cards = append(this.data.Red.Cards, this.data.Card[this.data.Blue.Lastopencard].Cid) + this.data.Blue.Cards = append(this.data.Blue.Cards, this.data.Card[this.data.Blue.Lastopencard].Cid) this.data.Blue.Coiled++ } coiled = this.data.Blue.Coiled