Revert "Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code"
Some battlegrounds (arenas) need access to the updated player map in RemovePlayer(), pass team as parameter instead
This commit is contained in:
@@ -310,7 +310,7 @@ void BattlegroundIC::AddPlayer(Player *plr)
|
||||
SendTransportInit(plr);
|
||||
}
|
||||
|
||||
void BattlegroundIC::RemovePlayer(Player* plr, uint64 /*guid*/)
|
||||
void BattlegroundIC::RemovePlayer(Player* plr, uint64 /*guid*/, uint32 /*team*/)
|
||||
{
|
||||
plr->RemoveAura(SPELL_QUARRY);
|
||||
plr->RemoveAura(SPELL_OIL_REFINERY);
|
||||
|
||||
Reference in New Issue
Block a user