diff --git a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua index 5f0147e058..e2b10155b9 100644 --- a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua @@ -1229,10 +1229,12 @@ function this.InitJourneyWithWindConFigData() end end for key, configInfo in ConfigPairs(ConfigManager.GetConfig(ConfigName.JourneyWithWind)) do - if JourneyWithWindDayAmount[configInfo.DayNum] then - JourneyWithWindDayAmount[configInfo.DayNum] = JourneyWithWindDayAmount[configInfo.DayNum] + 1 - else - JourneyWithWindDayAmount[configInfo.DayNum] = 1 + if configInfo.ActivityId == acitvityConFig then + if JourneyWithWindDayAmount[configInfo.DayNum] then + JourneyWithWindDayAmount[configInfo.DayNum] = JourneyWithWindDayAmount[configInfo.DayNum] + 1 + else + JourneyWithWindDayAmount[configInfo.DayNum] = 1 + end end end end