fix 入场限额
This commit is contained in:
parent
3c1e7bfe8f
commit
a47539083d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue