fix 入场限额

This commit is contained in:
sk 2025-04-07 13:36:44 +08:00
parent 3c1e7bfe8f
commit a47539083d
1 changed files with 3 additions and 0 deletions

View File

@ -979,6 +979,9 @@ func (this *Scene) ProtoPrivateRoom() *gamehall.PrivateRoomInfo {
Cost: costItems, Cost: costItems,
BaseScore: this.BaseScore, BaseScore: this.BaseScore,
} }
if this.CustomParam.GetLimitCoin() > 0 {
ret.LimitCoin = this.CustomParam.GetLimitCoin()
}
for _, v := range this.players { for _, v := range this.players {
ret.Players = append(ret.Players, &gamehall.PrivatePlayerInfo{ ret.Players = append(ret.Players, &gamehall.PrivatePlayerInfo{
SnId: v.SnId, SnId: v.SnId,