no message
This commit is contained in:
parent
4947685627
commit
5979797c01
|
@ -65,7 +65,7 @@ type Scene struct {
|
|||
*serverproto.CustomParam // 房卡场参数
|
||||
*serverproto.MatchParam // 比赛场参数
|
||||
*webapiproto.RoomConfigSystem // 系统竞技馆房间
|
||||
CloseCtrl bool // 调控开关
|
||||
CloseCtrl bool // 调控开关
|
||||
|
||||
csp *CoinScenePool // 所在场景池
|
||||
hp *HundredSceneMgr // 百人场房间池
|
||||
|
@ -148,7 +148,7 @@ func NewScene(args *CreateSceneParam) *Scene {
|
|||
if s.RoomConfigSystem == nil {
|
||||
s.RoomConfigSystem = new(webapiproto.RoomConfigSystem)
|
||||
}
|
||||
gf := PlatformMgrSingleton.GetGameFree(args.Platform.IdStr, args.GameFreeId)
|
||||
gf := PlatformMgrSingleton.GetGameFree(args.Platform.IdStr, args.GF.GetId())
|
||||
if gf != nil {
|
||||
s.CloseCtrl = gf.GetCloseCtrl()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue