Commit 4bd10b43de3c321f5dfbdc19248aa9c090bfbf46
1 parent
6662e7d2
拾荒失败也要触发成就引导
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/adv/Adv.lua
@@ -829,10 +829,10 @@ function Adv:over(success, rewardRatio, overType) | @@ -829,10 +829,10 @@ function Adv:over(success, rewardRatio, overType) | ||
829 | red:hset(RANK_ADV_INFO, roleId, MsgPack.pack(curInfo)) | 829 | red:hset(RANK_ADV_INFO, roleId, MsgPack.pack(curInfo)) |
830 | end) | 830 | end) |
831 | end | 831 | end |
832 | - -- 通关的时候要把引导步骤设定到成就引导 | ||
833 | - if not self.owner:checkOverGuide(57) then | ||
834 | - self.owner:saveGuide(57,1,true) | ||
835 | - end | 832 | + end |
833 | + -- 通关的时候要把引导步骤设定到成就引导 | ||
834 | + if not self.owner:checkOverGuide(57) then | ||
835 | + self.owner:saveGuide(57,1,true) | ||
836 | end | 836 | end |
837 | self:clearAdvUnlockCache() | 837 | self:clearAdvUnlockCache() |
838 | 838 |