diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-10-11 02:15:25 +0000 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-10-12 16:25:04 +0200 |
commit | 4df28fd29c6978e669f9950bd38e853fabf9fc8d (patch) | |
tree | fc8e4adf2b0896e33d593b18888ce7ee92700014 | |
parent | 9c92f4f32e0713e38616d4766aaf9e93ccdca945 (diff) |
Fixed valid arena condition
maybe we should remove it? (not blizzlike)
-rw-r--r-- | src/game/Battlegrounds/Battleground.cpp | 2 |
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); |