Compare commits

..

2 Commits

Author SHA1 Message Date
by 01bc6bfd63 引导修改 2024-11-01 14:29:07 +08:00
by cbfb53a8f1 引导修改 2024-11-01 14:26:41 +08:00
1 changed files with 3 additions and 2 deletions

View File

@ -3219,8 +3219,9 @@ func CSUpdateAttribute(s *netlib.Session, packetId int, data interface{}, sid in
Remark: "完成引导奖励", Remark: "完成引导奖励",
}) })
} }
pack.OpRetCode = player_proto.OpResultCode_OPRC_Sucess
send()
} }
return nil
case common.AttributeGuideSkip: case common.AttributeGuideSkip:
if cfg.GetSkip() != common.On { if cfg.GetSkip() != common.On {
pack.OpRetCode = player_proto.OpResultCode_OPRC_Guide_SkipClose pack.OpRetCode = player_proto.OpResultCode_OPRC_Guide_SkipClose
@ -3236,8 +3237,8 @@ func CSUpdateAttribute(s *netlib.Session, packetId int, data interface{}, sid in
} }
} else { } else {
pack.OpRetCode = player_proto.OpResultCode_OPRC_Sucess pack.OpRetCode = player_proto.OpResultCode_OPRC_Sucess
send()
p.GuideData[msg.GuideId] = int32(msg.Param[0]) p.GuideData[msg.GuideId] = int32(msg.Param[0])
send()
return nil return nil
} }
case common.AttributeGuideTest: case common.AttributeGuideTest: