From e2ae302e2cfed8e68248e69af705ab0a2be2bc93 Mon Sep 17 00:00:00 2001 From: Gooyeth Date: Mon, 12 Mar 2018 15:41:11 -0600 Subject: Core/Arena: Do not distribute points if the season is not in progress (#21600) --- src/server/game/Battlegrounds/BattlegroundMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp index 7b1513f0bb9..45ce0974f2e 100644 --- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp +++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp @@ -628,7 +628,7 @@ void BattlegroundMgr::LoadBattlegroundTemplates() void BattlegroundMgr::InitAutomaticArenaPointDistribution() { - if (!sWorld->getBoolConfig(CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS)) + if (!sWorld->getBoolConfig(CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS) || !sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS)) return; time_t wstime = time_t(sWorld->getWorldState(WS_ARENA_DISTRIBUTION_TIME)); -- cgit v1.2.3