From c875de6663e62c0706472f295ee352898572a13e Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Thu, 23 Sep 2021 11:05:10 +0800 Subject: [PATCH] fix: 探索指令道具兑换,修复14506错误 --- src/models/Store.lua | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/models/Store.lua b/src/models/Store.lua index 13b1c99..d0a509c 100644 --- a/src/models/Store.lua +++ b/src/models/Store.lua @@ -498,6 +498,7 @@ function Store:onBuyCard(type, duration, id, actid) info["flag"] = 1 bpInfo[index] = info self:updateProperty({field = "bpInfo", value = bpInfo}) + return {} elseif type == CardType.ActBattleCommandCard then if not self.owner.activity:isOpenById(actid, "ActShopGoods") then return nil -- libgit2 0.21.2