This commit is contained in:
meixiongfeng 2023-12-04 14:12:56 +08:00
commit 05fe4cc994

View File

@ -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