Fixed valid arena condition
maybe we should remove it? (not blizzlike)
This commit is contained in:
parent
9c92f4f32e
commit
4df28fd29c
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ void Battleground::EndBattleground(TeamId winnerTeamId)
|
||||||
// set as fast as possible
|
// set as fast as possible
|
||||||
if (GetStatus() == STATUS_WAIT_LEAVE)
|
if (GetStatus() == STATUS_WAIT_LEAVE)
|
||||||
return;
|
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
|
bool bValidArena = isArena() && isRated() && GetStatus() == STATUS_IN_PROGRESS && GetStartTime() >= startDelay+15000; // pussywizard: only if arena lasted at least 15 secs
|
||||||
SetStatus(STATUS_WAIT_LEAVE);
|
SetStatus(STATUS_WAIT_LEAVE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue