From b81166651a279586146dedcab3cc09bc7e0dee77 Mon Sep 17 00:00:00 2001 From: Warpten Date: Wed, 26 Dec 2012 22:20:08 +0100 Subject: Core/Battlegrounds: Don't set a remaining time for arenas. --- src/server/game/Battlegrounds/Battleground.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index 16220d17170..a5c92962f57 100644 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -274,7 +274,7 @@ void Battleground::Update(uint32 diff) // after 47 minutes without one team losing, the arena closes with no winner and no rating change if (isArena()) { - if (GetElapsedTime() >= 47*MINUTE*IN_MILLISECONDS) + if (GetElapsedTime() >= 47 * MINUTE*IN_MILLISECONDS) { UpdateArenaWorldState(); CheckArenaAfterTimerConditions(); @@ -466,8 +466,8 @@ inline void Battleground::_ProcessJoin(uint32 diff) // ********************************************************* ModifyStartDelayTime(diff); - // I know it's a too big but it's the value sent in packet, I get it from retail sniff. - SetRemainingTime(300000); + if (!isArena()) + SetRemainingTime(300000); if (m_ResetStatTimer > 5000) { -- cgit v1.2.3