Commit d96fae59054edc52059e6d7f5c5da6824d596541
1 parent
7d44dca2
fix diner levelUpRpc
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/DinerAction.lua
... | ... | @@ -108,7 +108,7 @@ function _M.levelUpRpc( agent, data ) |
108 | 108 | end |
109 | 109 | |
110 | 110 | role:costItems(cost) |
111 | - role.dinerData:updateProperty({field = "level", value = buildL:setv(index, curLevel + 1)}) | |
111 | + role.dinerData:updateProperty({field = "buildL", value = buildL:setv(index, curLevel + 1)}) | |
112 | 112 | |
113 | 113 | SendPacket(actionCodes.Diner_levelUpRpc, '') |
114 | 114 | return true | ... | ... |