Commit f037f9c37c8fcd0646ce7378ed34cc15dbbc7170
1 parent
5470c530
充值中继, 关闭缺少参数
* tr/bugfix: 美食币计算错误 开启x品质时钟箱任务计数错误bug 活动结束回收邮件 # Conflicts: # src/models/Activity.lua
Showing
1 changed file
with
7 additions
and
3 deletions
Show diff stats
src/models/Activity.lua
| @@ -1157,10 +1157,14 @@ activityFunc[Activity.ActivityType.AdvLevel] = { | @@ -1157,10 +1157,14 @@ activityFunc[Activity.ActivityType.AdvLevel] = { | ||
| 1157 | for chapterId, _ in ipairs(actCfg) do | 1157 | for chapterId, _ in ipairs(actCfg) do |
| 1158 | local advPass = self.owner:getProperty("advPass") | 1158 | local advPass = self.owner:getProperty("advPass") |
| 1159 | advPass[chapterId] = nil | 1159 | advPass[chapterId] = nil |
| 1160 | - self.owner:updateProperty({field="advPass", value=advPass}) | ||
| 1161 | - | 1160 | + local advRelay = self.owner:getProperty("advRelay") |
| 1161 | + advRelay[chapterId] = nil | ||
| 1162 | + self.owner:updateProperties({ | ||
| 1163 | + advPass = advPass, | ||
| 1164 | + advRelay = advRelay, | ||
| 1165 | + }, not notify) | ||
| 1162 | -- 关闭活动代理拾荒 | 1166 | -- 关闭活动代理拾荒 |
| 1163 | - closeActAdvHang(chapterId) | 1167 | + closeActAdvHang(self.owner, chapterId) |
| 1164 | end | 1168 | end |
| 1165 | -- 强制关闭活动拾荒关卡 | 1169 | -- 强制关闭活动拾荒关卡 |
| 1166 | local adv = self.owner:getAdvData() | 1170 | local adv = self.owner:getAdvData() |