charge bug修复
This commit is contained in:
parent
abeabab66b
commit
776a05e959
@ -145,7 +145,9 @@ func (c *ChargeMod) ZeroUpdate(Emit []int) {
|
||||
SpecialGrade = max(1, M-a)
|
||||
c.SpecialShop[i] = &SepcialShop{Grade: SpecialGrade, Count: SpecialShopCount}
|
||||
}
|
||||
c.WishList.SendList = make([]int64, 0)
|
||||
if c.WishList != nil {
|
||||
c.WishList.SendList = nil
|
||||
}
|
||||
if c.IsWeeklyDiscountDay() && c.WeeklyEndTime < Now {
|
||||
c.WeeklyDiscount = make(map[int]int)
|
||||
c.WeeklyEndTime = GoUtil.ZeroTimestamp() + secondsIn7Days
|
||||
|
||||
Loading…
Reference in New Issue
Block a user