From c72853af155f80505b27feee7fcdb7dfce22ea9c Mon Sep 17 00:00:00 2001 From: liuzujun <307836273@qq.com> Date: Wed, 9 Sep 2020 14:37:48 +0800 Subject: [PATCH] 修改每日礼包检测开启bug --- src/actions/StoreAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/StoreAction.lua b/src/actions/StoreAction.lua index 4ef6ff2..d5e6eec 100644 --- a/src/actions/StoreAction.lua +++ b/src/actions/StoreAction.lua @@ -205,7 +205,7 @@ function _M.shopBuyRpc(agent , data) if not dataSet then return end if dataSet.unlock ~= "" then - if not role:checkHangPass(tonumber(config.unlock)) then + if not role:checkHangPass(tonumber(dataSet.unlock)) then skynet.error(string.format("shopBuyRpc,user do not finish hang pass, user_id:%d", role:getProperty("id"))) return 1 end -- libgit2 0.21.2