diff --git a/data/gameparam.json b/data/gameparam.json index 48db513..d0956de 100644 --- a/data/gameparam.json +++ b/data/gameparam.json @@ -24,5 +24,5 @@ "AgoraAddress": "http://47.105.78.29:8081", "InviteUrl": "http://47.105.78.29:8000/", "RankTimeout": 2, - "PermitInitScore": 1234 + "PermitInitScore": 0 } \ No newline at end of file diff --git a/worldsrv/action_task.go b/worldsrv/action_task.go index b62c7c2..214cc07 100644 --- a/worldsrv/action_task.go +++ b/worldsrv/action_task.go @@ -200,6 +200,7 @@ func CSTaskReward(s *netlib.Session, packetId int, data interface{}, sid int64) for _, v := range srvdata.TaskMgr.GetActivityType(msg.GetTp()) { f(v.GetId()) } + ret.OpCode = taskproto.OpResultCode_OPRC_Success } else { f(msg.GetId()) }