Commit ae820b73a71a4e3d6b48efc9e865f2d616ab327a
1 parent
ed322ed2
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/DinerAction.lua
@@ -83,7 +83,7 @@ function _M.addSellRpc( agent, data ) | @@ -83,7 +83,7 @@ function _M.addSellRpc( agent, data ) | ||
83 | end | 83 | end |
84 | end | 84 | end |
85 | 85 | ||
86 | - local customer = self.dinerData:getProperty("customer") | 86 | + local customer = role.dinerData:getProperty("customer") |
87 | local change = false | 87 | local change = false |
88 | for cId, cData in pairs(csvdb["diner_customerCsv"]) do | 88 | for cId, cData in pairs(csvdb["diner_customerCsv"]) do |
89 | if not customer[cId] then | 89 | if not customer[cId] then |