Commit f49ec7149beab5e5a8b74c526829dfd664cfbe04
Merge branch 'develop' of 120.26.43.151:wasteland/server into develop
* 'develop' of 120.26.43.151:wasteland/server: 修改每日礼包检测开启bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/StoreAction.lua
... | ... | @@ -205,7 +205,7 @@ function _M.shopBuyRpc(agent , data) |
205 | 205 | if not dataSet then return end |
206 | 206 | |
207 | 207 | if dataSet.unlock ~= "" then |
208 | - if not role:checkHangPass(tonumber(config.unlock)) then | |
208 | + if not role:checkHangPass(tonumber(dataSet.unlock)) then | |
209 | 209 | skynet.error(string.format("shopBuyRpc,user do not finish hang pass, user_id:%d", role:getProperty("id"))) |
210 | 210 | return 1 |
211 | 211 | end | ... | ... |