Commit 7eda801e22f2626a3939a147de5c34bcc2a37beb

Authored by zhangqijia
1 parent 3945affc

fix: 修复周商店刷新商品内容为空的bug

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
... ...