上传代码

This commit is contained in:
liwei1dao 2023-12-04 11:36:57 +08:00
parent f77e9c80f9
commit 9bbec6ee95

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