mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Seasonal: move quest resetting to the beginning of the event.
This commit is contained in:
@@ -1124,8 +1124,6 @@ void GameEventMgr::UnApplyEvent(uint16 event_id)
|
||||
UpdateEventNPCVendor(event_id, false);
|
||||
// update bg holiday
|
||||
UpdateBattlegroundSettings();
|
||||
// check for seasonal quest reset.
|
||||
sWorld->ResetEventSeasonalQuests(event_id);
|
||||
}
|
||||
|
||||
void GameEventMgr::ApplyNewEvent(uint16 event_id)
|
||||
@@ -1160,6 +1158,8 @@ void GameEventMgr::ApplyNewEvent(uint16 event_id)
|
||||
UpdateEventNPCVendor(event_id, true);
|
||||
// update bg holiday
|
||||
UpdateBattlegroundSettings();
|
||||
// check for seasonal quest reset.
|
||||
sWorld->ResetEventSeasonalQuests(event_id);
|
||||
}
|
||||
|
||||
void GameEventMgr::UpdateEventNPCFlags(uint16 event_id)
|
||||
|
||||
Reference in New Issue
Block a user