summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Battlegrounds/Battleground.cpp b/src/game/Battlegrounds/Battleground.cpp
index 1d38161491..144eb65465 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);