Core/Battleground: fix re-enter into battleground after disconnect

This commit is contained in:
Wilds
2012-01-04 11:52:13 +01:00
parent ced346076b
commit 2a38902d2e
3 changed files with 13 additions and 7 deletions
@@ -1245,8 +1245,6 @@ void Battleground::EventPlayerLoggedOut(Player* player)
if (GetAlivePlayersCountByTeam(player->GetTeam()) <= 1 && GetPlayersCountByTeam(GetOtherTeam(player->GetTeam())))
EndBattleground(GetOtherTeam(player->GetTeam()));
}
player->LeaveBattleground();
}
// This method should be called only once ... it adds pointer to queue