Commit 1bbe3bb855982d1cb5e910f5ddb54448b69dec75
1 parent
a5b00e35
fix: 额外宝藏bug修复
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/DailyPlugin.lua
@@ -372,7 +372,7 @@ function DailyPlugin.bind(Daily) | @@ -372,7 +372,7 @@ function DailyPlugin.bind(Daily) | ||
372 | end | 372 | end |
373 | end | 373 | end |
374 | 374 | ||
375 | - if next(tmpTreasure) then | 375 | + if not next(tmpTreasure) then |
376 | self:updateProperty({field = "treasureListExtra", value = treasureListExtra}) | 376 | self:updateProperty({field = "treasureListExtra", value = treasureListExtra}) |
377 | return nil | 377 | return nil |
378 | end | 378 | end |