From ae820b73a71a4e3d6b48efc9e865f2d616ab327a Mon Sep 17 00:00:00 2001 From: zhouhaihai Date: Mon, 16 Mar 2020 13:41:30 +0800 Subject: [PATCH] bug --- src/actions/DinerAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/DinerAction.lua b/src/actions/DinerAction.lua index 2ca10a0..c72e36b 100644 --- a/src/actions/DinerAction.lua +++ b/src/actions/DinerAction.lua @@ -83,7 +83,7 @@ function _M.addSellRpc( agent, data ) end end - local customer = self.dinerData:getProperty("customer") + local customer = role.dinerData:getProperty("customer") local change = false for cId, cData in pairs(csvdb["diner_customerCsv"]) do if not customer[cId] then -- libgit2 0.21.2