Commit b7106842b21688fd0e9573ecff14a9fef8521de0

Authored by zhangqijia
1 parent eb97418a

fix: add 餐厅 log

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/actions/DinerAction.lua
@@ -977,10 +977,10 @@ function _M.collectRpc(agent , data) @@ -977,10 +977,10 @@ function _M.collectRpc(agent , data)
977 977
978 local id = msg.id 978 local id = msg.id
979 local customerData = csvdb["diner_customerCsv"][id] 979 local customerData = csvdb["diner_customerCsv"][id]
980 - if not id or not customerData then return end 980 + if not id or not customerData then return 1 end
981 local customer = role.dinerData:getProperty("customer") 981 local customer = role.dinerData:getProperty("customer")
982 if customer[id] ~= 0 then 982 if customer[id] ~= 0 then
983 - return 983 + return 2
984 end 984 end
985 985
986 -- 完成前更新一波 后面 加成可能不一样 986 -- 完成前更新一波 后面 加成可能不一样