竞技馆
This commit is contained in:
parent
54a13fe8ae
commit
4a32df4ecf
|
|
@ -485,7 +485,7 @@ func handlerEvent(ctx context.Context, completeKey string, isInit bool, event *c
|
|||
config := data.(*webapi.RoomType)
|
||||
PlatformMgrSingleton.UpdateRoomType(config)
|
||||
if !isInit {
|
||||
PlayerMgrSington.BroadcastMessageToPlatform(config.GetPlatform(), int(0), nil)
|
||||
//PlayerMgrSington.BroadcastMessageToPlatform(config.GetPlatform(), int(0), nil)
|
||||
}
|
||||
case clientv3.EventTypeDelete:
|
||||
if plt == "" || len(param) == 0 {
|
||||
|
|
@ -493,7 +493,7 @@ func handlerEvent(ctx context.Context, completeKey string, isInit bool, event *c
|
|||
}
|
||||
PlatformMgrSingleton.DelRoomType(plt, int32(param[0]))
|
||||
if !isInit {
|
||||
PlayerMgrSington.BroadcastMessageToPlatform(plt, int(0), nil)
|
||||
//PlayerMgrSington.BroadcastMessageToPlatform(plt, int(0), nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue