catnip bug修复
This commit is contained in:
parent
8b0f1989d3
commit
9f28bf39e4
@ -5780,6 +5780,9 @@ func ReqFriendReplyHandle(player *Player, buf []byte) error {
|
||||
case friend.REPLY_TYPE_CATNIP: // 猫草大作战同意邀请
|
||||
GameId := GoUtil.Int(ReplyInfo.Param)
|
||||
activityInfo := player.GetActivityInfo(player.GetActivityId(activity.ACT_TYPE_CATNIP))
|
||||
if activityInfo == nil {
|
||||
break
|
||||
}
|
||||
err := player.SetCatnipPartner(GameId, ReplyInfo.Uid, activityInfo.EndT)
|
||||
if err == nil {
|
||||
CatnipMod := player.PlayMod.getCatnipMod()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user