aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGooyeth <migmadmu@hotmail.com>2018-03-12 15:41:11 -0600
committerShauren <shauren.trinity@gmail.com>2018-03-12 22:41:11 +0100
commite2ae302e2cfed8e68248e69af705ab0a2be2bc93 (patch)
treeb10470b4ebd7c1fe992b90b1306322a87986342a /src
parent6414e456ec60cd33460ecda4582f8e035198be28 (diff)
Core/Arena: Do not distribute points if the season is not in progress (#21600)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.cpp2
1 files changed, 1 insertions, 1 deletions
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));