Commit febda4c31cf085817538dd8c13491f83917972a2
Merge branch 'cn/develop' into cn/publish/release
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/models/Store.lua
| ... | ... | @@ -840,13 +840,13 @@ function Store:flushWeekShop() |
| 840 | 840 | if next(tmpWeekShop) then |
| 841 | 841 | local id = math.randWeight(tmpWeekShop) |
| 842 | 842 | if id then |
| 843 | - weekShop[id] = weekShop[id] | |
| 843 | + weekShop[id] = tmpWeekShop[id] | |
| 844 | 844 | tmpWeekShop[id] = nil |
| 845 | 845 | end |
| 846 | 846 | |
| 847 | 847 | id = math.randWeight(tmpWeekShop) |
| 848 | 848 | if id then |
| 849 | - weekShop[id] = weekShop[id] | |
| 849 | + weekShop[id] = tmpWeekShop[id] | |
| 850 | 850 | tmpWeekShop[id] = nil |
| 851 | 851 | end |
| 852 | 852 | end | ... | ... |