Commit 254ed8666f07822b061332753a86c5637b9fb316
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,7 +70,7 @@ function Diner:refreshDailyData(notify) | ||
| 70 | end | 70 | end |
| 71 | end | 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 | entrust[1] = 1001 | 74 | entrust[1] = 1001 |
| 75 | entrust[2] = 1 | 75 | entrust[2] = 1 |
| 76 | elseif self.owner:checkOverGuide(29) then | 76 | elseif self.owner:checkOverGuide(29) then |