上传代码
This commit is contained in:
parent
f77e9c80f9
commit
9bbec6ee95
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user