diff --git a/modules/entertainment/room.go b/modules/entertainment/room.go index 5acb0cccf..79dcee385 100644 --- a/modules/entertainment/room.go +++ b/modules/entertainment/room.go @@ -778,7 +778,7 @@ func (this *Room) AutoOperator(uid string) { } // 交换元素 - if this.player1.Energy >= conf.Skillload { + if p.Energy >= conf.Skillload { var color int32 if this.curPower == this.player1.Userinfo.Uid { color = 1