diff --git a/modules/entertainment/room.go b/modules/entertainment/room.go index 3dc8522ba..f21107215 100644 --- a/modules/entertainment/room.go +++ b/modules/entertainment/room.go @@ -529,7 +529,7 @@ func (this *Room) GameOver() (errdata *pb.ErrorData) { if conf, err := this.module.configure.GetGameConsumeHero(lostPlayer.Cardid); err == nil && lostPlayer.Userinfo.Uid != "999" { if conf.Type != 1 { //卡片类型不为1 if list, err := this.module.model.getEntertainmList(lostPlayer.Userinfo.Uid); err == nil { - if list.Card[lostPlayer.Cardid] > 1 { + if list.Card[lostPlayer.Cardid] >= 1 { list.Card[lostPlayer.Cardid] -= 1 this.module.model.modifyEntertainmList(lostPlayer.Userinfo.Uid, map[string]interface{}{ "card": list.Card,