Commit 254ed8666f07822b061332753a86c5637b9fb316

Authored by chenyueqi
1 parent 20226e47

餐厅强制引导跨天刷新顾客时判断条件bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/Diner.lua
... ... @@ -70,7 +70,7 @@ function Diner:refreshDailyData(notify)
70 70 end
71 71 end
72 72  
73   - if self.owner:checkOverGuide(26) and not self.owner:checkOverGuide(27) then
  73 + if self.owner:getProperty("funcGuide"):getv(51,0) == 0 or (self.owner:checkOverGuide(26) and not self.owner:checkOverGuide(27)) then
74 74 entrust[1] = 1001
75 75 entrust[2] = 1
76 76 elseif self.owner:checkOverGuide(29) then
... ...