From a47539083d0f47689a7becad59c4dbe59420fcf4 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Mon, 7 Apr 2025 13:36:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=85=A5=E5=9C=BA=E9=99=90=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/scene.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/worldsrv/scene.go b/worldsrv/scene.go index 5ba680d..f037f1d 100644 --- a/worldsrv/scene.go +++ b/worldsrv/scene.go @@ -979,6 +979,9 @@ func (this *Scene) ProtoPrivateRoom() *gamehall.PrivateRoomInfo { Cost: costItems, BaseScore: this.BaseScore, } + if this.CustomParam.GetLimitCoin() > 0 { + ret.LimitCoin = this.CustomParam.GetLimitCoin() + } for _, v := range this.players { ret.Players = append(ret.Players, &gamehall.PrivatePlayerInfo{ SnId: v.SnId,