From c665fd4816c112b028bd6861b1d86e68407bd82b Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Tue, 13 Aug 2024 10:34:20 +0800 Subject: [PATCH] gameserver sendToMachine --- gamesrv/clawdoll/scene_clawdoll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamesrv/clawdoll/scene_clawdoll.go b/gamesrv/clawdoll/scene_clawdoll.go index 6f3d434..3180e31 100644 --- a/gamesrv/clawdoll/scene_clawdoll.go +++ b/gamesrv/clawdoll/scene_clawdoll.go @@ -208,7 +208,7 @@ func (this *SceneEx) BackupPlayer(p *PlayerEx, isBilled bool) { } // 向娃娃机主机发送消息 -func (this *SceneEx) SendMachine(pid int, msg interface{}) { +func (this *SceneEx) SendToMachine(pid int, msg interface{}) { if this.machineConn == nil { this.machineConn = srvlib.ServerSessionMgrSington.GetSession(1, 10, 1001) }