From 99ed384e745c2f12d410fb7eb20f44c075f61d60 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 10 Jan 2024 18:58:39 +0800 Subject: [PATCH] update --- modules/entertainment/room.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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