Commit b7106842b21688fd0e9573ecff14a9fef8521de0
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 | 977 | |
978 | 978 | local id = msg.id |
979 | 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 | 981 | local customer = role.dinerData:getProperty("customer") |
982 | 982 | if customer[id] ~= 0 then |
983 | - return | |
983 | + return 2 | |
984 | 984 | end |
985 | 985 | |
986 | 986 | -- 完成前更新一波 后面 加成可能不一样 | ... | ... |