Skip to content

Commit

Permalink
Fixed typo in cancellation script. GH-92
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicebar committed Aug 20, 2024
1 parent 9b6ce76 commit 150631f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 20 August 204
- Fixed an error in aura cancellation (thanks Road-Block for providing the fix!)

# 15 August 2024
- Fixed namespace bugs for Raven_Options.

Expand Down
2 changes: 1 addition & 1 deletion Cancel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ local function Overlay_OnEnter(b)
if not MOD:GetAuraData("player", b.aura_id, "HELPFUL") then return end
GameTooltip:SetUnitAura("player", b.aura_id, "HELPFUL")
elseif b.aura_tt == "spell name" then
local auraList = MOD:CheckAuras("player", b.aura_id, true)
local auraList = MOD:CheckAura("player", b.aura_id, true)
if #auraList > 0 then local aura = auraList[1]; GameTooltip:SetUnitAura("player", aura[12], "HELPFUL") end
end
if IsControlKeyDown() then
Expand Down

0 comments on commit 150631f

Please sign in to comment.