Commit c875de6663e62c0706472f295ee352898572a13e
1 parent
2e4b7c03
fix: 探索指令道具兑换,修复14506错误
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/models/Store.lua
@@ -498,6 +498,7 @@ function Store:onBuyCard(type, duration, id, actid) | @@ -498,6 +498,7 @@ function Store:onBuyCard(type, duration, id, actid) | ||
498 | info["flag"] = 1 | 498 | info["flag"] = 1 |
499 | bpInfo[index] = info | 499 | bpInfo[index] = info |
500 | self:updateProperty({field = "bpInfo", value = bpInfo}) | 500 | self:updateProperty({field = "bpInfo", value = bpInfo}) |
501 | + return {} | ||
501 | elseif type == CardType.ActBattleCommandCard then | 502 | elseif type == CardType.ActBattleCommandCard then |
502 | if not self.owner.activity:isOpenById(actid, "ActShopGoods") then | 503 | if not self.owner.activity:isOpenById(actid, "ActShopGoods") then |
503 | return nil | 504 | return nil |