diff --git a/modules/entertainment/room.go b/modules/entertainment/room.go index d392c236a..737819f15 100644 --- a/modules/entertainment/room.go +++ b/modules/entertainment/room.go @@ -593,9 +593,9 @@ func (this *Room) GameOver() (errdata *pb.ErrorData) { for _, v := range res { if v.A == "attr" && v.T == "consumeexp" { if winner.Userinfo.Uid == this.player1.Userinfo.Uid { - this.player1.Score += v.N + this.player1.Consumeexp += v.N } else { - this.player2.Score += v.N + this.player2.Consumeexp += v.N } } }