Commit f72f32b7812e5d3f4931f4ae67adbb8d3dbf199d
1 parent
47904e51
时间礼包返回奖励
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/RoleAction.lua
... | ... | @@ -1544,7 +1544,7 @@ function _M.getTimeGiftRpc(agent, data) |
1544 | 1544 | local reward, change = role:award(gift.gift, {log = {desc = "giftTime", int1 = nextL}}) |
1545 | 1545 | role:mylog("role_action", {desc = "giftTime", int1 = nextL}) |
1546 | 1546 | |
1547 | - SendPacket(actionCodes.Role_getTimeGiftRpc, MsgPack.pack(reward, change)) | |
1547 | + SendPacket(actionCodes.Role_getTimeGiftRpc, MsgPack.pack(role:packReward(reward, change))) | |
1548 | 1548 | return true |
1549 | 1549 | end |
1550 | 1550 | ... | ... |