diff --git a/machine/action/action_server.go b/machine/action/action_server.go index 2eb245c..a1b1a54 100644 --- a/machine/action/action_server.go +++ b/machine/action/action_server.go @@ -141,18 +141,20 @@ func SMDollMachineGrabHandler(session *netlib.Session, packetId int, data interf switch msg.GetTypeId() { case 1: //弱抓 - f1 := []func(){ - func() { machinedoll.WeakGrab(conn) }, - } - f2 := []func(){} - Process(conn, f1, f2) + /* f1 := []func(){ + func() { machinedoll.WeakGrab(conn) }, + } + f2 := []func(){} + Process(conn, f1, f2)*/ + machinedoll.WeakGrab(conn) case 2: //强力抓 - f1 := []func(){ - func() { machinedoll.Grab(conn) }, - } - f2 := []func(){} - Process(conn, f1, f2) + /* f1 := []func(){ + func() { machinedoll.Grab(conn) }, + } + f2 := []func(){} + Process(conn, f1, f2)*/ + machinedoll.Grab(conn) } return nil }