Skip to content

Commit

Permalink
Fix reactive mode regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Aug 4, 2020
1 parent 494df99 commit daf0064
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1106,9 +1106,11 @@ function Hekili:ProcessHooks( dispName, packName )
end

if dispName == "AOE" and self:GetToggleState( "mode" ) == "reactive" then
if ns.getNumberTargets() < ( spec and spec.aoe or 3 ) and UI.RecommendationsStr then
UI.RecommendationsStr = nil
UI.NewRecommendations = true
if ns.getNumberTargets() < ( spec and spec.aoe or 3 ) then
if UI.RecommendationsStr then
UI.RecommendationsStr = nil
UI.NewRecommendations = true
end
return
end
end
Expand Down

0 comments on commit daf0064

Please sign in to comment.