mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 18:43:48 +00:00
fix(Core/Arena): Fix lag caused by arena distribution (#15444)
* cherry-pick commit (3f3dee8049)
Co-authored-by: ibakula <10998369+ibakula@users.noreply.github.com>
Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
This commit is contained in:
@@ -239,8 +239,9 @@ void ArenaTeamMgr::DistributeArenaPoints()
|
||||
{
|
||||
if (ArenaTeam* at = titr->second)
|
||||
{
|
||||
at->FinishWeek();
|
||||
at->SaveToDB();
|
||||
if (at->FinishWeek())
|
||||
at->SaveToDB(true);
|
||||
|
||||
at->NotifyStatsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user