Skip to content

Commit

Permalink
[Libs] Fix mistake in LRC for Classic Era / SoD checking
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed May 8, 2024
1 parent a4f2dbb commit 0425711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShestakUI/Libs/LibRangeCheck-3.0/LibRangeCheck-3.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ end

local isRetail = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE
local isWrath = WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC
local isCata = WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC
local isEra = WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC
local isCata = WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC
local isEra = WOW_PROJECT_ID == WOW_PROJECT_CLASSIC
local InCombatLockdownRestriction
if isRetail or isEra or isCata then
InCombatLockdownRestriction = function(unit) return InCombatLockdown() and not UnitCanAttack("player", unit) end
Expand Down

0 comments on commit 0425711

Please sign in to comment.