From 5979797c01d8ce464b20654d6d20b155ec367c99 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Tue, 15 Oct 2024 17:02:19 +0800 Subject: [PATCH] no message --- worldsrv/scene.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldsrv/scene.go b/worldsrv/scene.go index 3855c8f..e245480 100644 --- a/worldsrv/scene.go +++ b/worldsrv/scene.go @@ -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() }