赛季结束 清理商队背包数据
This commit is contained in:
parent
b39301ada6
commit
338607d7ce
@ -38,8 +38,10 @@ func (this *apiComp) GetList(session comm.IUserSession, req *pb.CaravanGetListRe
|
|||||||
if errdata = this.module.InitCaravanTicket(session, conf); errdata != nil {
|
if errdata = this.module.InitCaravanTicket(session, conf); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// list.Merchantmoney = conf.Moneynumtop.N
|
|
||||||
update := make(map[string]interface{})
|
update := make(map[string]interface{})
|
||||||
|
// 清除玩家货物信息
|
||||||
|
list.Items = make(map[string]*pb.BagInfo, 0)
|
||||||
|
update["items"] = list.Items
|
||||||
list.Reward = make(map[int32]bool, 0)
|
list.Reward = make(map[int32]bool, 0)
|
||||||
list.Profit = 0
|
list.Profit = 0
|
||||||
update["reward"] = list.Reward // 初始化利润奖励
|
update["reward"] = list.Reward // 初始化利润奖励
|
||||||
|
Loading…
Reference in New Issue
Block a user