Commit 6897e0e347c107c478c9d0619d00b796014fd8d9
1 parent
b02cd5f6
新春签到领奖方法里 漏掉了一个int转string
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/ActivityAction.lua
... | ... | @@ -1304,7 +1304,7 @@ function _M.newSignRpc(agent, data) |
1304 | 1304 | if not open then return 1 end |
1305 | 1305 | |
1306 | 1306 | local actData = role.activity:getActData("NewSign") |
1307 | - if actData[actData["0"] or 0] then | |
1307 | + if actData[tostring(actData["0"] or 0)] then | |
1308 | 1308 | return 2 |
1309 | 1309 | end |
1310 | 1310 | ... | ... |