Core/Battlegrounds: Properly readd player to Battleground containers after a login.

Closes #16141
This commit is contained in:
ariel-
2016-08-16 00:51:33 -03:00
committed by Aokromes
parent b92ba1e11d
commit 4d41ec93a0

View File

@@ -1201,7 +1201,7 @@ void Battleground::EventPlayerLoggedIn(Player* player)
}
}
m_Players[guid].OfflineRemoveTime = 0;
PlayerAddedToBGCheckIfBGIsRunning(player);
AddPlayer(player);
// if battleground is starting, then add preparation aura
// we don't have to do that, because preparation aura isn't removed when player logs out
}