Commit 18ed80b0fa17a9c1d3f945d10c5c2a24dad07684
1 parent
c1849aa6
餐厅获取委托任务池子修改
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/models/Diner.lua
@@ -41,11 +41,11 @@ function Diner:refreshDailyData(notify) | @@ -41,11 +41,11 @@ function Diner:refreshDailyData(notify) | ||
41 | if data.show ~= "" then | 41 | if data.show ~= "" then |
42 | -- 不填=默认刷出,1=达成前置任务,2=通关关卡 | 42 | -- 不填=默认刷出,1=达成前置任务,2=通关关卡 |
43 | local showC = data.show:toArray(true, "=") | 43 | local showC = data.show:toArray(true, "=") |
44 | - if showC[1] == 1 then | 44 | + if showC[1] == 2 then |
45 | if not hangPass[showC[2]] then | 45 | if not hangPass[showC[2]] then |
46 | show = false | 46 | show = false |
47 | end | 47 | end |
48 | - elseif showC[1] == 2 then | 48 | + elseif showC[1] == 1 then |
49 | if not entrustB[showC[2]] then | 49 | if not entrustB[showC[2]] then |
50 | show = false | 50 | show = false |
51 | end | 51 | end |