From 4df28fd29c6978e669f9950bd38e853fabf9fc8d Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 11 Oct 2017 02:15:25 +0000 Subject: [PATCH] Fixed valid arena condition maybe we should remove it? (not blizzlike) --- src/game/Battlegrounds/Battleground.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Battlegrounds/Battleground.cpp b/src/game/Battlegrounds/Battleground.cpp index 1d3816149..144eb6546 100644 --- a/src/game/Battlegrounds/Battleground.cpp +++ b/src/game/Battlegrounds/Battleground.cpp @@ -720,7 +720,7 @@ void Battleground::EndBattleground(TeamId winnerTeamId) // set as fast as possible if (GetStatus() == STATUS_WAIT_LEAVE) return; - uint32 startDelay = StartDelayTimes[BG_STARTING_EVENT_FIRST]; // = BG_START_DELAY_1M = 60000 for all arenas + uint32 startDelay = GetStartDelayTime(); bool bValidArena = isArena() && isRated() && GetStatus() == STATUS_IN_PROGRESS && GetStartTime() >= startDelay+15000; // pussywizard: only if arena lasted at least 15 secs SetStatus(STATUS_WAIT_LEAVE);