Commit bd535b08b4a3e4f6f7e206f895038de24b5861b9
1 parent
227b47ea
bug
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/actions/RoleAction.lua
... | ... | @@ -404,8 +404,8 @@ function _M.openTimeBoxRpc(agent, data) |
404 | 404 | return |
405 | 405 | end |
406 | 406 | |
407 | - self:setProperty("boxL") --刷新 | |
408 | - self:changeUpdates({{type = "boxL", field = slot, value = boxL[slot], isOnlyToC = true}}) -- 通知客户端 | |
407 | + role:setProperty("boxL") --刷新 | |
408 | + role:changeUpdates({{type = "boxL", field = slot, value = boxL[slot], isOnlyToC = true}}) -- 通知客户端 | |
409 | 409 | SendPacket(actionCodes.Role_openTimeBoxRpc, MsgPack.pack({reward = reward})) |
410 | 410 | return true |
411 | 411 | end | ... | ... |