From 462bbc6b240521aaa4c594fe7883b927a764b017 Mon Sep 17 00:00:00 2001 From: mdawx <81375770+mdawx@users.noreply.github.com> Date: Mon, 5 Apr 2021 12:39:11 +0200 Subject: [PATCH] fix(Core): Remove RDF cooldown after completion (#5034) --- src/server/game/DungeonFinding/LFGMgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index fa0d47293..89a659e74 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -2099,6 +2099,12 @@ namespace lfg continue; } + // Remove Dungeon Finder Cooldown if still exists + if (player->HasAura(LFG_SPELL_DUNGEON_COOLDOWN)) + { + player->RemoveAurasDueToSpell(LFG_SPELL_DUNGEON_COOLDOWN); + } + // Xinef: Update achievements, set correct amount of randomly grouped players if (dungeon->difficulty == DUNGEON_DIFFICULTY_HEROIC) if (uint8 count = GetRandomPlayersCount(player->GetGUID()))