no message

This commit is contained in:
sk 2024-10-15 17:02:19 +08:00
parent 4947685627
commit 5979797c01
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}