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,