Correction to previous commit (Use proper way to delete from spell_script_names)

This commit is contained in:
Spp
2013-02-04 17:04:40 +01:00
parent 61979f8591
commit fb7a544d84
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ void LFGPlayerScript::OnMapChanged(Player* player)
if (sLFGMgr->selectedRandomLfgDungeon(player->GetGUID()))
player->CastSpell(player, LFG_SPELL_LUCK_OF_THE_DRAW, true);
}
else // if (player->HasAura(lfg:LFG_SPELL_LUCK_OF_THE_DRAW))
else
player->RemoveAurasDueToSpell(LFG_SPELL_LUCK_OF_THE_DRAW);
}