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